Support » Plugin: WP-PostRatings » Put the post-ratings over Shariff

  • Resolved lernde

    (@lernde)


    Hello,
    unfortunately I can not find the right position to place the plugin always at the end of the texts before the Shariff wrapper comes.
    I put the code <?php if(function_exists(‘the_ratings’)) { the_ratings(); } ?> in page.php, index.php and archive.php.

    All pages, all courses, all posts should look like that after the text comes the rating and then the parts buttons.
    A little distance between the two plugins would be great, of course.
    Thanks in advance for the help.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • does anyone have a solution?

    • This reply was modified 7 months, 1 week ago by  lernde.

    Hi there,

    I’m the author of the Shariff plugin and got notified by accident about your post here. The easiest solution would probably be to disable the automatic adding of Shariff to your post and pages and add Shariff also in the code as well.

    So after the code from WP-Postratings you would add the do_shortcode('[shariff]') so that it looks something likes this:

    <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
    
    <?php echo do_shortcode('[shariff]') ?>

    Cheers
    JP

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Put the post-ratings over Shariff’ is closed to new replies.