LuboUzunov
MemberForum Replies Created
-
Yes, it works!
Thank you for everything!
But I trying this on my pc first (localhost)
BTW the problem with the showing is gone. May be this was my fault…
See the first picture of this post. The border is still there 🙁
Now, the pictures doesn’t want to shows up, but the border is there…
Nope. Still there… 🙁
In reply to: Help me to use the plugin "WP-PostRatings" in Graphene theme
August 27, 2012 at 4:57 pm #32200Ok. Thank you very much for everything!
In reply to: Help me to use the plugin "WP-PostRatings" in Graphene theme
August 27, 2012 at 4:34 pm #32198Also when I vote:
Warning: Creating default object from empty value in C:xampphtdocswordpresswp-contentpluginswp-postratingswp-postratings.php on line 183this is the wp-postratings.php.
In reply to: Help me to use the plugin "WP-PostRatings" in Graphene theme
August 27, 2012 at 4:29 pm #32197In reply to: Help me to use the plugin "WP-PostRatings" in Graphene theme
August 27, 2012 at 4:04 pm #32195When I add this:
Quote:<?php function graphene_show_the_ratings { if ( function_exists(‘the_ratings’) ) { the_ratings(); } } add_action(‘graphene_before_post_content’, ‘graphene_show_the_ratings’); ?>The result is:
Parse error: syntax error, unexpected '{', expecting '(' in C:xampphtdocswordpresswp-contentthemesgraphene-childfunctions.php on line 2In reply to: Help me to use the plugin "WP-PostRatings" in Graphene theme
August 27, 2012 at 3:24 pm #32193No. I don’t have a child theme 🙂
In reply to: Help me to use the plugin "WP-PostRatings" in Graphene theme
August 27, 2012 at 2:57 pm #32191Quote:Actually using “WP-PostRatings” plugin in Graphene is even easier. No need to edit any theme file. Just use Action Hook widgets.Go to Graphene Options –> Advanced –> Action Hooks Widget Areas and select graphene_before_post_content or any other appropriate action hook in loop-single.php. Then go to Appearance –> Widgets and drag a Text Widget to Graphene Before Post Content widget area and add [ratings] to it. That’s it! You can also use a PHP Widget with this function,
<?php
if(function_exists(‘the_ratings’)) { the_ratings(); }
?>
One more stupid question:
Where exactly to put this function?
When I add [ratings] in Text Widget it shows literally “[ratings]” in the blog 😀 And if I put the function there i’ts show me nothing… I don’t get it …yet 🙂
And with PHP Widget it doesn’t work. The stars are inactive…
Viewing 10 posts - 1 through 10 (of 10 total)
