Support » Plugin: Custom Menu Wizard Widget » Hide top-most parent page

  • Resolved ChillyJava

    (@chillyjava)


    Is there a way to hide the top-most parent page?

    About Us (top-most parent page)
    – sub-page
    — grand-child-page
    – sub-page
    – sub-page
    — grand-child-page`

    I’ve gotten what I want with this setup thus far:

    [custom_menu_wizard menu=6 title="About Us" children_of="current" fallback_current=1 depth=1 include="siblings" flat_output=1]

    It hides the grand-child-page until it’s parent sub-page is selected (while still hiding all other grand-child pages of other sub-pages of the top-most parent page).

    Is there a setting I need to select to remove the “About Us” from always showing up (whether on a sub-page or grand-child page)?

    I’ve used CSS to hide it, but was hoping for a cleaner solution within the widget.

    https://wordpress.org/plugins/custom-menu-wizard/

Viewing 1 replies (of 1 total)
  • Plugin Author wizzud

    (@wizzud)

    The settings you have applied – according to the shortcode given – will only list the root page (“About Us”) if that root page is the current page.

    I hesitate to suggest this, but …
    You have set the text “About Us” as the title of the widget : Are you sure that you’re not getting confused about what is the title of the widget and what is the content of the widget?
    For example, if you were to (temporarily!) change the title of the widget to, say, “Something Else”, and then to navigate to one of the sub-pages, do you then see any mention of “About Us”?

Viewing 1 replies (of 1 total)
  • The topic ‘Hide top-most parent page’ is closed to new replies.