Making an "if" statement for topics page
Is there a way to define an “if” statement for the topics page. Here is what I am trying to do. I want the topic info/meta to be displayed on the sidebar. The sidebar codes are in the footer.php file which means that it will be displayed site-wide.
There is this line if (bb_get_forum_is_category()) : for categories, so I’m wondering if I can do something similar like “if this is a topics page, display so and so.” and if not it will be hidden.
- You must be logged in to reply to this topic.