Replies: 3 comments 3 replies
-
`I also tried to create a vertical left menu. The settings appeared, but nothing was selected on the site.
left-sidebar.php
|
Beta Was this translation helpful? Give feedback.
1 reply
-
I need to display a menu in the left column using a widget and your code. But, unfortunately, the default menu cannot be displayed without vertical widgets. I set the settings in the Wordpress console to Primary Menu. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thank you, the issue has been resolved. The toric can be closed.
чт, 25 июл. 2024 г., 21:02 Basti ***@***.***>:
… No, as I explained in my previous comment, you have to register the
nav_walker in the sidebar.php template es well if you want to do it that
way. That's because the backend must know where the menu is. This is not
widget area.
If you want to use a widget for a menu, then you must use a legacy widget,
because Gutenberg does not support menus in widgets. In that case, you do
not need to register a new menu in functions.php. Just create a new menu
in the backend and leave menu position checkbox unchecked.
1. Register the menu
2. Go to widget area
3. Press + to add a new block
4. Search for lgeacy
5. Choose and select Navigation Menu
6. Select Menu you want to show in the dropdown
First Header Second Header
[image: legacy-1]
<https://github.com/user-attachments/assets/6fa58c94-a17b-46a9-aa56-cf78498fa17a> [image:
legacy-2]
<https://github.com/user-attachments/assets/a889593a-9ebc-4361-a919-ae970c782c89>
[image: legacy-3]
<https://github.com/user-attachments/assets/2dc98550-da26-494c-814f-fe5687c1c646>
—
Reply to this email directly, view it on GitHub
<#815 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3POMC4LRYTCQN52E673BFDZOE4S5AVCNFSM6AAAAABLOSGYWWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJVGE4TENY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I brought up the right menu in the sidebar via the menu widget. Tell me how to make it on the left side? There is no clear information anywhere.
Beta Was this translation helpful? Give feedback.
All reactions