-
AuthorPosts
-
January 30, 2021 at 10:21 pm #1276544
Hi – is there a way to show custom URL menu links in the auto-generated sidebar menu?
I would also like to add a widget area above the sidebar menu – please would you advise on how to do this.
ThanksFebruary 1, 2021 at 6:25 am #1276695Hey SimaV,
I’m not sure I fully understand your intentions, could you try to explain a bit further and post a link to where you want to implement this please? If you have screenshots highlighting what you would like to achieve, then that would help too.
Best regards,
RikardFebruary 2, 2021 at 11:18 pm #1277218Hi – thanks for getting back to me.
Here are some screengrabs which will hopefully explain what I mean:Widget query
https://www.onvisual.com/enfold/widget-area.pngSidebar menu query
https://www.onvisual.com/enfold/custom-url.pngFebruary 3, 2021 at 10:32 pm #1277475Hi – any thoughts on this?
ThanksFebruary 4, 2021 at 7:03 am #1277570Hi,
Thanks for the update. I’m not sure exactly which sidebar you are using there, but please try to create your own under Appearance->Widgets.
About the menu; if that menu is auto generated, then please try adding your own Navigation Menu widget, to see if that helps.
Best regards,
RikardFebruary 4, 2021 at 1:41 pm #1277700Hi,
I thought the images were pretty self-explanatory.
The sidebar is the default Enfold one with the auto-generated menu.
I did create my own widget – I just want to position it above the Enfold auto-generated menu rather than below it. Is that possible, even if it involves a template override?As for the menu itself, is it not possible to display Custom URL menu items automatically? They show up in the Main menu but not in the sidebar which seems like a mistake. Can you not point me to where in the template it is generated so I can see if I can modify it? Or better still, let me know what code to add so it works as expected?
https://www.onvisual.com/enfold/Enfold-sidebar-setting.jpg
Enfold-sidebar-setting.jpg
Thanks
February 4, 2021 at 4:37 pm #1277747Any ideas?
February 6, 2021 at 3:00 pm #1278258Anything at all?
February 6, 2021 at 5:49 pm #1278320Hi SimaV,
The Enfold menu is the one that shows pages and the custom menu item is not a page so it will not show up in that auto-generated menu, but you can build your own menu and show it in the sidebar. Do you need help with that?
Best regards,
VictoriaFebruary 6, 2021 at 6:14 pm #1278324Thanks for finally back to me.
I think I know how to do that – it would just have been easier and more intuitive to be able to have the sidebar menu automatically reflect the Main menu structure. I am wondering whether it would be a an idea to create a blank page with an auto-redirect to the desired URL instead? If you have a pointer as to how to best do that (without additional plugins) then that would be great.
RegardsFebruary 6, 2021 at 8:47 pm #1278368Hi SimaV,
I think it’s better to create another menu or even assign the main menu to the widget too and not even create an extra menu.
Best regards,
VictoriaFebruary 7, 2021 at 12:11 am #1278394Thanks Victoria,
I don’t really want to make a different menu for each section and wouldn’t want the entire main menu in the sidebar either so I decided to go the redirect route by adding a blank pages with associated templates for the redirection as I only have a few such links.
Here’s the code I used in case someone else finds it useful:
[php] <?php /* Template Name: A descriptive name */ wp_redirect('https://www.your-chosen-url.com', 301); exit; ?> [/php]
Regards
February 8, 2021 at 5:03 pm #1278713Hi SimaV,
Glad you got it working for you and thank you for sharing! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- The topic ‘Sidebar menu show custom URL menu links’ is closed to new replies.