Archived

This topic is now archived and is closed to further replies.

  • 0

How to setup a 'simple' menu showing child pages only if parent page is shown


Question

Posted · Report post

Hi there

I'm new to pagelines and almost could customize any also very exotic setting for some new websites. But I still have a very basic and simple issue. I want to get a 'simple' navigation like this:

Page A

Page B

Page C

On selecting Page B it should show up as following:

Page A

Page B

- Page B 1

- Page B 2

Page C

This I use very often, and the page hierarchy is already setup that way. But how do I get this kind of menu into my sidebar??? By adding a manual created menu, it is always expanded (meaning I see Page B 1 and Page B 2 even I'm currently focused on Page A, and that I won't have).

Many thanks for any hints. I'm sure there will be a very simple solution I just can't see now.

Regards

Jones

Share this post


Link to post
Share on other sites

3 answers to this question

Posted · Report post

Hi catrina

Many thanks for your reply. Unfortunately, I'm aware of the setting and they are not working as I expect/want. My custom menu is always displayed as designed, so Page B 1 and Page B 2 are always shown, even on Page A or Page C, where they should be hidden (using PageLines 2.3). I can code the menu by a simple custom function (f.e. in functions.php), but I'm curious if not PageLines Framework can handle this by default, as it is a kind of 'standard' menu behaviour very often used on websites. By the many settings in PageLines I perhaps miss the tick to select for this behavior.

Until now, I did not find any information about hierarchical page menus either in PageLines Doc nor in WordPress Codex. WordPress Forums is linking to a additional Plugin (http://wordpress.org...archical-pages/), perhaps PageLines is also lacking the feature?

Kind regards

Jones

BTW: perhaps important to know, I'm not using the NavBar, the menu should be shown in the primary sidebar.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

PageLines doesn't provide a Menu widget, therefore you will need to search the Wordpress plugin repo for a sidebar menu widget.

Share this post


Link to post
Share on other sites