WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostRatings
[resolved] Remove from pages (4 posts)

  1. veggera
    Member
    Posted 11 months ago #

    Hello thanks for the great plugin,
    It's possible to remove the ratings from pages eg: Contact us page.

    Thanks for the plugin.

    http://wordpress.org/plugins/wp-postratings/

  2. Lester Chan
    Member
    Plugin Author

    Posted 11 months ago #

    <?php if(!is_page('contact-us')): ?>
    <?php the_ratings();?>
    <?php endif; ?>

    Replace contact-us with your contact us page slug.

    http://codex.wordpress.org/Function_Reference/is_page

  3. veggera
    Member
    Posted 11 months ago #

    Hello,

    Contact us was eg: of the page.

    however my pages is

    About
    Contact

    Can you please explain me what need to do with your above code and where need to add it ?

    Regards

  4. Lester Chan
    Member
    Plugin Author

    Posted 11 months ago #

    What is your page URLs?

Reply

You must log in to post.

About this Plugin

About this Topic