Widget logic

  • Oliver



    I have a widget used at search results.

    Question is how to prevent widget display on 404 search pages, and only on search results.

    I have tried these Conditional Tags without luck, and in different orders.

    ! is_404 () or is_404 () or has_term(‘service’, ‘page-type’) || is_404()

    Did not work.

    Any suggestions how to do?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.