Feature request: Add theme setting for default sorting of menu entries
See original GitHub issueHi @vjeantet
With the recent content organization, my navigation entries don’t seem to be sorted alphabetically like it used to be. I do no specify the weight attribute.
I am using Hugo version 0.25 and your theme at commit 5869299972c981931908be24b0f378039197e2d4. My entries used to be sorted alphabetically but now it looks like it’s sorted by date.
If no weights are provided (or if weights are the same), date will be used to sort https://gohugo.io/content/ordering/
Cheers
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Sort order of Customizer options · Issue #1009 · Automattic ... - GitHub
* Lets you set a featured image position default, or template default for posts. * May house the same options for pages in...
Read more >How to Add Custom Navigation Menus in WordPress Themes
This will add a new menu location to your theme, called 'My Custom Menu.' To use a different name, simply change the above...
Read more >How To Customize Product Sorting in WooCommerce
Ensure that Default Product Sorting is set to “Default sorting (custom ordering + name)”. Publish the new settings and then go to edit...
Read more >How to Customize WooCommerce Product Sorting and Ordering
You can go to the Customizer → WooCommerce → Product Catalog to set the initial sort order of products in your online store...
Read more >Extra Product Sorting Options for WooCommerce
You can optionally set a new name for the default sorting (helpful if you've used this to create a custom sorting order), and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

add
ordersectionsby = "title"in your config.tomlI might have been slightly unclear about the expected result. Right now, it is impossible to overrides the default sorting (
ordersectionsby) using theweightattribute. I believe we should still be able to overrides the menu entries sorting by weight.