• Hi there.

    I’m trying to set up widget logic and I don’t seem to be having the desired results.

    I read through the forum and I thought is_page(‘6’) would be the way to write what I need.

    but it seems to make the widget disappear off of every page.

    I am using the tarski theme and I am using the my-page-order plug in to re sort the navbar.

    So I’m not sure if it’s re-assigning the page numbers or creating a conflict.
    So what I’d like to do is find a way to use the title of the page to effect the visibility. So I tried is_title(‘shop’)

    and I broke it. So can anyone help me get this right?

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • according to http://codex.wordpress.org/Conditional_Tags#A_PAGE_Page

    you should be able to use andy of 3 variations of is_page – by numer, title or ‘slug’ – their examples:

    is_page(’42’)
    is_page(‘about-me’)
    is_page(‘About Me And Joe’)

    so, first thing get rid of ‘is_title’ – i don’t know such a conditional tag exists. is_page will be what you want. try the page’s ID, slug or title.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Widget Logic] A little help please’ is closed to new replies.