WordPress Page: Parent , Child and Top and Right Side pages Issue

Asked By 110 points N/A Posted on -
qa-featured

Hi Guys,

It's my site paksoftsolution dot com

At top you can see some pages such as Home, About Us, Packages, Services etc. Now i want create sub-pages means when user go at packages then he/she can select any package. For this purpose i create some sub-pages and assign parent but i can't see its output sub-pages don't appear.

For this purpose i create drop down menu but it is also not working. For creating drop down menu first i go to menu and assign pages and subpages after that i install WordPress drop down widget and assign my menu but i can't get success. if any one know its solution please tell me.

Also i create pages now i want some pages only appear at top and some pages only appear at right side. For this purpose i create first pages then i create two menus one for top and second for the right side and then i use widget at right side and use right side menu there where i use only right side pages. But problem is when i do this then right side pages also appear at top. I want those pages don't appear at top if any one know its solution please guide me.

Thanks for your time.

SHARE
Best Answer by TeckDevil
Answered By 5 points N/A #83829

 WordPress Page: Parent , Child and Top and Right Side pages Issue

qa-featured

 

Hi Shaheeniqbal

I have seen your site and there is no drop down menu and the menu styles seems that the menu gadget is drop down style you need to check in backend in the menu module there is an option of drop down you need to select that option and select it as a YES and one more thing you need to create the sub pages same as the parent pages and then put those sub-pages under parent pages. I have not seen any page under main menu. You need to clarify have you created the pages and have you enabled those sub pages. These are the little mistakes due to which some things not working. Hope you understand. If it still not working then reply me. And check out your site offline message. I have sent you one msg on your site. Offline message check that message. 

Thanks 

 

Best Answer
Best Answer
Answered By 0 points N/A #83830

 WordPress Page: Parent , Child and Top and Right Side pages Issue

qa-featured

1. Enabling child links in the menu:

To better understand it, I would need access to your Theme's PHP code to see how the functions are being called.

A basic answer would be to set the depth in the menu array [wp_nav_menu( array( 'depth' => 3) );  ]. If the depth is not properly set, it will not show the child menus as a drop-down list.

Further, again in the function to call the page list, include the depth needed [ wp_list_pages('sort_column=menu_order&title_li=&depth=3'); ]

2. To show only some pages in top and right:

You can create 2 different menus by going to (Appearance > Menus) and assigning only the required pages/categories to these menus. 

Next, appoint the location to each menu by using the widget for the sidebar and Menu hook (already present in your theme) at the top.

Please provide your theme's files if your problem is not yet solved.

Related Questions