WordPress.org

Support

Support » Plugins and Hacks » [Resolved] How to exclude a scroll box from a page?

[Resolved] How to exclude a scroll box from a page?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Danny van Kooten

    @dvankooten

    Hi there,

    If it’s a category archive, you should be able to use a “manual conditional tag” that looks something like this.

    ! is_category( 'listing' )

    http://codex.wordpress.org/Function_Reference/is_category
    http://codex.wordpress.org/Conditional_Tags

    Hope that helps!

    I am not sure what type of an archive it is or whether it is a ‘category archive’ or not? is there a way i can find out?

    The manual tag above doesnt seem to exclude it from this page http://www.footstepsofjim.com/listing/

    Do i leave the ! infront of it? the links you showed dont seem to show the ! infront of them

    Im not really familar with conditional tag, I hope you can help shed some light

    Thanks

    Plugin Author Danny van Kooten

    @dvankooten

    Hi Jimmy,

    Yes, you should leave the ! in front of it. Basically, the following statement translates as follows.

    ! is_category( 'listing' )

    Means..

    if not viewing the category archive for "listing"

    If that doesn’t work, try the following.

    ! is_archive()

    Hope that helps!

    Thanks for the response, however I am really struggling with this…

    So whatever i set the box rules to, it just always seems to show on every page.

    I want a box to appear on every page EXCEPT this page http://www.footstepsofjim.com/listing/ BUt it keeps appearing

    So, what do i need to set the ‘Display options’ to? and what should i select in th drop down box under ‘Show this box’ ? ive tried ‘if page is not’ and ‘manual conditional tags’ but they dont seem to do anything, and always make the box appear on every page

    To make things more complicated, i want to create a new box, to ONLY appear on this http://www.footstepsofjim.com/listing/ same page. What settings should i select for this box?

    I hope you can help, i feel like ive tried, but i feel i’m doing something wrong.

    I hope you could help?

    On a separate note, the scroll boxes appear on mobile devices when in landscape mode, and in doing so obstruct the content of the mobile page. Is there a way to disable the boxes from mobile devices?

    Thanks so much for your continued help 🙂

    darrynvanhout

    @darrynvanhout

    I am also having trouble with this

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] How to exclude a scroll box from a page?’ is closed to new replies.