• Resolved lgdelai

    (@lgdelai)


    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

    (@wpchefgadget)

    Hi lgdelai,

    You need to use has_tag instead of is_tag.

    [ Signature deleted ]

    • This reply was modified 7 years, 9 months ago by Jan Dembowski.

    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.