Support » Plugin: Widget Logic » Widget Logic not working with Tax

  • I am giving up, which is very disappointing because a lot of my plugins depend on Widget Logic, unless someone can help me out here.

    Widget logic was working perfect until recently it just stopped working.

    It works for everything but with the conditional tag: is_tax.

    I have a Custom post type with a taxonomy for that post type. So, when I write for instance:

    is_tax(‘1’, ‘2’)

    is_tax(‘postType’, ‘taxName’)

    is_tax(‘parentTax’, ‘childTax’)

    None of these work. What I was doing that was working was writing a logic that that would display on a page template and in the Taxonomy Child category. So it looked like this:

    is_page_template(‘retirement-communities-raleigh-durham.php’)|| is_tax(’50’, ‘376’)

    And is was working perfectly so when it stopped working I changed out the id’s and inserted the slug of the parent and the child and it is still not working.

    Anyway, it has been working for 7 months now and all of a sudden it is no longer working. I am a very experience coder and honestly ran out of options. Is it not working with the updated wordpress version?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Also forgot to note: If I write it in a my sidebar.php it works fine, but it will not work using the widgets

    Also, in the 1st comment, There is a space before the ||

    I for got to add the space when writing the post

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widget Logic not working with Tax’ is closed to new replies.