WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
[resolved] Widget Logic in 14 ways doesn't work (5 posts)

  1. lepiedi
    Member
    Posted 1 year ago #

    Hello!

    I'm working on a page that have 14 separate single post pages for which i need to add 14 different WP-Forecasts, 14 different Web-Scrapper implements, 14 different pictures and some text (also different depending on a post) in each of them. In the same main sidebar.
    The trouble i have is that it can't figure it out how to do that, because if I for example drop the WP-Forecast in the main sidebar area and set widget logic to is_page ('example'), it works. But when i do the same changing only the title in WP-Forecast and change to different example page (is_page ('example3')) it stop working for previous page.

    http://wordpress.org/extend/plugins/widget-logic/

  2. alanft
    Member
    Plugin Author

    Posted 1 year ago #

    Not totally following you. Are you saying that if you add one widget with is_page(X) and another with is_page(Y) style of thing, only one widget shows up?

  3. lepiedi
    Member
    Posted 1 year ago #

    Yes. If i put wp forecast widget on is_page(x), set it up to one place (xx) save it and than in the same sidebar change settings of widget to another place (yy) on is_page(y), only one widget is displayed on the page. Displayed is the last one saved.

    I'm using Responsive theme and trying to set different weather forecasts on different single post pages all displayed in same sidebar. I know i'm doing something wrong, just can't figure it out what :s

  4. Ov3rfly
    Member
    Posted 1 year ago #

    Add the wp forecast widget several times to the sidebar, not only one, then set logic of each wp forecast widget to your is_page(x) etc. logic.

  5. lepiedi
    Member
    Posted 1 year ago #

    Thank you very much, It's alive! :D

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic