Skip to:
Content
Pages
Categories
Search
Top
Bottom

Getting forum ID from inside loop


  • Trobee
    Member

    @trobee

    Hi all,

    I am adding ratings to forum topics for a single forum, using this plugin

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

    I have added the required code to loop-topic.php and loop-single-topic.php to get ratings showing up in the topic list.

    I am now trying to restrict these ratings to a single forum but I have not been able to find a way to get the current forum id to check if it is the right forum to display the ratings

  • You must be logged in to reply to this topic.
Skip to toolbar