Support » How-To and Troubleshooting » [Resolved] conditional tag for posts page in Widget Logic
6 years, 8 months ago
I am having trouble getting widgets to show up on my blog page (and only my blog page) using the Widget Logic plug-in. I have a static front page called “home” and the post page is called “blog”.
In Widget Logic, I would think the tag to enter for a widget to appear only on the blog page would be “is_page(‘blog’) but that doesn’t work. What is the correct conditional tag for the posts page?
Solved the problem.
I had to set home to is_front_page(), then is_home() worked to display widgets on the blog page.
6 years, 3 months ago
I’m having this same problem. Can you explain your solution? I don’t understand what you mean.
I’ve been able to get is_home() working to conditionally display a widget sidebar but it doesn’t seem to work to hide other elements…ie. !is_home()