Forums

[resolved] Widget Logic works great on all my pages but not on my posts. (3 posts)

  1. paynard
    Member
    Posted 8 months ago #

    Widget logic has been working really well for my pages, but when I try to specify certain widgets to only show up on the posts page it still seems to show up on all of the pages. I've triied a number of different conditional tags but none of the have worked when used to try to target my posts.

    Any help would be much appriciated, it is very important that I get this resolved!

    Thanks,

    Aaron

  2. alanft
    Member
    Posted 8 months ago #

    have you read through http://codex.wordpress.org/Conditional_Tags#The_Main_Page ?

    you probably want is_home() or is_front_page()

    and if those aren't working, check to see if they are working when you switch to the default theme.

  3. paynard
    Member
    Posted 8 months ago #

    is_home() worked!

    So glad it was simply just something I overlooked.

    Thanks a ton! love the plugin.

Reply

You must log in to post.

About this Topic