WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
[resolved] menubar widget won't show on page 2,3,4 etc. (5 posts)

  1. ElizaTaylor
    Member
    Posted 1 year ago #

    I can't for the life of me figure out how to make the menubar widget show up on page 2,3,4 of my blog: http://www.spacepops.com/page/2/

    http://wordpress.org/extend/plugins/widget-logic/

  2. ElizaTaylor
    Member
    Posted 1 year ago #

    This is what I currently have in my widget logic box:

    is_page() || is_category() || is_search() || is_category('Blog') || is_category('Halloween') || is_category('Chicago') || is_category('Space Pops') || is_category('Trips') || is_category('About Me') || is_category('Holiday') || is_archive() || is_single() && in_category('Blog') || is_post_type_archive() || is_404()

  3. alanft
    Member
    Plugin Author

    Posted 1 year ago #

    looks like it might be, oddly, quite tricky

    http://codex.wordpress.org/Pagination#static_front_page implies you have to use get_query_var('paged') and get_query_var('page') if that doesn't work

  4. ElizaTaylor
    Member
    Posted 1 year ago #

    get_query_var('paged') <---this worked!

    Thank you so much!

  5. mbenatar
    Member
    Posted 1 year ago #

    If I have a page called "staff", how do I get the widget to show only on that page?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.