pboomer
Member
Posted 2 years ago #
We are setting up a site with static pages and a blog section. The home page is a static page.
I'd like to display the Category Widget within the blog section of the site only - no where else - but cannot seem to get it to work.
We are using the Thesis theme. However, when I revert back to the classic theme it does not make a difference.
Do you know how to make this happen? Can you please help?
PS - Congrats to Alan Trewartha for the 10K downloads and the creation of a very useful plugin.
have you tried "is_front_page()"
pboomer
Member
Posted 2 years ago #
Thank you for the reply.
The "is_front_page()" condition does work but it displays the Category Widget on the static front page. Not quite what we're looking for.
I'd like to have the Category Widget display only on the blog section of the site. We created a page titled "blog" and made that the post page within the settings. That's where we'd like the widget to display. We tried the "is_page('blog')" as the condition and that does not work.
shouldn't that be is_home() then?