Title: Plugin does not work with &#8220;tag&#8221;
Last modified: February 15, 2018

---

# Plugin does not work with “tag”

 *  Resolved [lgdelai](https://wordpress.org/support/users/lgdelai/)
 * (@lgdelai)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/plugin-does-not-work-with-tag/)
 * Plugin does not work with “tag”
 * Hello.
    I wanted a Widget to appear only on pages containing the tag “Taxi” I
   checked that the id of this tag is “7” so I tried the codes: is_tag (array (7)
   is_tag (7) is_tag (‘7’) is_tag (‘taxi’) is_tag (‘Taxi’)
 * And none worked.
 * Why is this happening?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [WPChef](https://wordpress.org/support/users/wpchefgadget/)
 * (@wpchefgadget)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/plugin-does-not-work-with-tag/#post-9977236)
 * Hi lgdelai,
 * You need to use has_tag instead of is_tag.
 * _[ [Signature deleted](https://wordpress.org/support/guidelines/#avoid-signatures)]_
    -  This reply was modified 7 years, 10 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  [webernestb](https://wordpress.org/support/users/webernestb/)
 * (@webernestb)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-does-not-work-with-tag/#post-10205656)
 * Hi I used your plugin for display differents sidebar for single portfolio categories
   and your plugin don’t work.
    example: for single portfolio page when tag is 1
   then display menu 1 for single portfolio page when tag is 2 then display menu
   2 I used all fonctions is_single in_categories and in_categories() and any work.
   what i can do? thank for help

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin does not work with “tag”’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/widget-logic_c8dde5.svg)
 * [Widget Logic](https://wordpress.org/plugins/widget-logic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/widget-logic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/widget-logic/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-logic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-logic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-logic/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [webernestb](https://wordpress.org/support/users/webernestb/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-does-not-work-with-tag/#post-10205656)
 * Status: resolved