• Resolved bqrney

    (@bqrney)


    Posted this elsewhere as well.

    Love the thought of what this plugin is designed to do and will love to see it working even more.

    Site: https://www.wattscookinblog.com

    Goal: This site will have many categories, as can be seen in the top two navigation bars. When one of these categories is clicked both sidebars need to display unique content based on the category.

    My efforts: In a nutshell all my efforts so far have been failures. I have created a Text Widget with HTML and in the — Widget logic — box I have made many attempts using — Conditional Tags — such as

    is_category(’14’)
    is_category(14)
    ————— where 14 is the category ID

    is_category(Music)
    ————— where Music is the name of the category

    is_category(music)
    ————— where music is the name of the category slug

    None of this works. is_category(14) is the current configuration.

    The text widget I am testing this on does not appear anywhere, if I remove the widget-logic it appears on the sidebar at all times.

    Please help me figure this out before I pull the few remaining hairs I have left.

    Regards,
    Mike

Viewing 2 replies - 1 through 2 (of 2 total)
  • It looks like its working now.
    Only in the “Music” category page I can see something in my sidebar.

    Thread Starter bqrney

    (@bqrney)

    It is working now.. and I would love to share what the problem was but I changed so many things I am not sure what it is I actually did to make it work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting widget-logic to actually work’ is closed to new replies.