Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Lester Chan

    (@gamerz)

    If you are using <?php the_ratings(); ?> PHP code in your theme, you can replace it with
    <?php if( ! is_page() ): the_ratings(); endif; ?>

    Thread Starter Alexanderleo

    (@alexanderleo)

    Hello

    I am using the Genesis Framework with the Genesis Sample Theme.

    SO I got som advice from another personer who said i should insert this into the functions.php:

    add_action(‘genesis_entry_header’, ‘gd_add_rating’, 12);
    function gd_add_rating(){
    if ( function_exists( ‘the_ratings’ ) ) { the_ratings(); }

    Can I just insert the code you posted below this in the functions.php?

    Plugin Author Lester Chan

    (@gamerz)

    This should work:

    add_action('genesis_entry_header', 'gd_add_rating', 12);
    function gd_add_rating(){
    if ( ! is_page() && function_exists( 'the_ratings' ) ) { the_ratings(); }

    Thread Starter Alexanderleo

    (@alexanderleo)

    Thank you very much! 🙂

    Thread Starter Alexanderleo

    (@alexanderleo)

    How can I help creating the danish translations of this plugin? 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Remove Postratings from pages’ is closed to new replies.