WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Reviews plugin, BUT only for specific categories (3 posts)

  1. electroniques
    Member
    Posted 7 years ago #

    Hey everybody.

    I am working on expanding my WordPress-powered Website and I came up this very nice plugin:
    http://www.dangrossman.info/wp-dg-review-site-1.1.php.txt (just one *.php file)

    It basically turns your Worpress site/blog into a review site. So far so good and everything works. BUT the problem is that it literally turns your WHOLE site/blog into a review site.

    I would like to change this, so it only works with specific categories (for example only for category "reviews")
    Unfortunately my PHP knowledge is rather limited.

    Now I am not asking for someone to rewrite the whole plugin (even though I certainly wouldn't mind ;-) ), but it would be nice to get some clues or ideas or opinion about this.

  2. nateritter
    Member
    Posted 7 years ago #

    I'm going to take a look at that same plugin, and I'd like some similar things out of it. If I find anything, I'll let you know. Feel free to contact me directly, if you'd like, via this form: http://blog.perfectspace.com/contact

  3. alexissr
    Member
    Posted 7 years ago #

    man,

    <?php if(in_category(49)) echo dgrs_get_rating_fields(); ?>

    that's it :p

Topic Closed

This topic has been closed to new replies.

About this Topic