- This topic has 11 replies, 2 voices, and was last updated 5 years, 6 months ago by David.
-
AuthorPosts
-
October 16, 2018 at 6:44 am #702147dnrtech
We have a horizontal primary menu with drop-downs, which works fine. See: http://c56368.sgvps.net/~dnrstudios/contact
However is there a way or a recommended plugin to use, to display a sub-page menu for the section you are in, on the left or right page column sections? See the original site and it’s menu here: https://www.dnrstudios.com/contact/
October 17, 2018 at 11:33 am #703498dnrtechPing
October 17, 2018 at 3:17 pm #703648DavidStaffCustomer SupportHi there,
this plugin can do the job:
https://wordpress.org/plugins/be-subpages-widget/
Or Bill actually provides the basic PHP to convert the secondary menu to display sub pages. Note: you must assign a menu to the Secondary menu for it to work, I used the same menu as the Primary nav has.
https://www.billerickson.net/code/submenu-items-in-secondary-menu/
October 25, 2018 at 8:25 pm #710685dnrtechDavid,
Thanks for your support. I installed be-subpages-widget and put the widget in the “Left Sidebar” under: Appearances > Widgets
But the sub-page menu does not display. I have tried customizing the “Sidebar” options with almost every conceivable option. I would think that setting all of them to “Sidebar / Content” would get it to work right somewhere. But it never appears.
Any suggestions?
October 26, 2018 at 4:08 am #710897DavidStaffCustomer SupportCan you go to Customizer > Menus, and the menu you have assigned to your Primary Navigation also assign it to the Secondary Navigation.
October 26, 2018 at 5:30 am #710961dnrtechHi David,
The Secondary Navigation was not assigned. So I assigned the Primary to the Secondary, but the result was not what I wanted. That resulted in simply putting the same horizontal Primary Menu, vertically.
What I want, is a sub-page menu vertically, that only shows the one parent and all the child pages listed in vertical menu format, in the left sidebar. These sub-pages are not defined in any particular Menu and they are different for each primary page. See http://c56368.sgvps.net/~dnrstudios
I thought the plugin you suggested would have given me that, but it did not produce any output.
October 26, 2018 at 5:53 am #710979dnrtechI got it to work. Stupid me. I had all my pages on one level without any parents. Just corrected that.
But now one other question, how do I change (enlarge) the font used for the subpage menu?
I can’t tell if it’s the same font as the rest of the page, other than size.
October 26, 2018 at 5:54 am #710980DavidStaffCustomer SupportEDIT
Glad to hear that
Can you link me to a page with the sub menus? Currently i get a 404October 26, 2018 at 6:53 am #711020dnrtechDavid,
You got a 404 by clicking the parent page, which is a redirect to the first sub-page. And the redirect doesn’t work yet due to the linking method. So if you go to the first sub-page, you’ll see the menu:
October 26, 2018 at 7:12 am #711023DavidStaffCustomer SupportTry this:
.sidebar .widget { font-size: 15px; }
October 26, 2018 at 7:25 am #711037dnrtechPerfect, it worked. I bumped it up to 18px.
Darren
October 26, 2018 at 7:30 am #711042DavidStaffCustomer SupportAwesome. Glad to be of help.
-
AuthorPosts
- You must be logged in to reply to this topic.