• Resolved triplelatte

    (@triplelatte)


    Here is the site…johnstreitteam.com

    On the News page (which is the blog post page) I want a widget to appear but only on that page…currently the widget showing is on all pages with the default page template but I need that widget as well as a text widget so I can place an image on just that page. Any ideas?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You could try the Widget Logic plugin.

    Thread Starter triplelatte

    (@triplelatte)

    I am already using that and it is working great.

    My problem comes when I have the news page set up to display posts. If I don’t have the News page set up for posts, the widget I want shows on the page I want, but if I do, it does not show the widget even though I have it set up that way with Widget Logic.

    Any other ideas…again, the site is at:https://www.johnstreitteam.com

    Thread Starter triplelatte

    (@triplelatte)

    ok…had not seen the category widget code…had to add the following widget-logic code to the News page:

    !is_category(array(x))
    x= category number

    Sorry for overlooking this in the widget logic documentation.

    Thread Starter triplelatte

    (@triplelatte)

    wait!

    Now I have a different issue…the widget is showing up on all pages as well as the category except for the sep page template that has no sidebar.

    Any ideas on how to exclude this widget from all pages…and only show up in a certain post category?

    Thread Starter triplelatte

    (@triplelatte)

    ok…got it.

    I needed to have the widget logic code:

    is_home()

    because that is where I have the posts showing which is also the News “page”.

    Thanks again…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Need widget to show on post page but not others…’ is closed to new replies.