How can we help?

If you are looking for support for our Poka theme, this is the place!

Home Forums Poka v2 support Need widget logic

This topic contains 4 replies, has 2 voices, and was last updated by  spielo 4 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1696

    spielo
    Participant

    How can i use widget logic in reviews?

    in_review(‘xxxxx’) doesn´t work

    Thanks

    #1697

    admin
    Keymaster

    Hi spielo,

    Sorry but I don’t understand what you mean, are you referring to a plugin?
    Also I don’t understand the ‘in_review(‘xxxxx’)’

    #1698

    spielo
    Participant

    Hi,

    we use a plugin widget Logic, so we can insert different widgets in different pages and posts etc. a normal wordpress logic is like in_page(”) or is_category(”) but we don´t now how we can use for reviews in your theme.

    Widget Logic

    #1721

    admin
    Keymaster

    Hi,

    As I can understand from the plugin documentation you can use WP conditional tags.

    So in order to target single review page you can use:

    is_singular( 'affiliates' )

    #1722

    spielo
    Participant

    Thanks, works well

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.