• Resolved dloverly

    (@dloverly)


    I’m confused with the condition tags. What code do I type in the box to make the widget appear on all the posts, include single posts, but non of the pages.

    My home page is static.

    Thank you,
    Dee

Viewing 2 replies - 1 through 2 (of 2 total)
  • WPChef

    (@wpchefgadget)

    Hi Dee,

    Try this:

    get_post_type() == 'post' || get_query_var('post_type') == 'post'

    Also check the “Use ‘wp_reset_query’ fix” checkbox.

    [ Signature deleted ]

    • This reply was modified 6 years, 7 months ago by Jan Dembowski.
    Thread Starter dloverly

    (@dloverly)

    Thank you very much!!
    This appears to have done the job.

    Dee

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widget Logic – posts’ is closed to new replies.