admin管理员组文章数量:1323202
I am new to WordPress and PHP.
I have created 4 menus but when I load the website (at path /), it shows "No post found"(because I am not setting any default page).
I wanted to use one of the nav as a default to loading at /
instead of any default page.
How can I do that without using an extra plugin
Currently, I am using the Woocommerce plugin.
I am new to WordPress and PHP.
I have created 4 menus but when I load the website (at path /), it shows "No post found"(because I am not setting any default page).
I wanted to use one of the nav as a default to loading at /
instead of any default page.
How can I do that without using an extra plugin
Currently, I am using the Woocommerce plugin.
Share Improve this question edited Sep 12, 2020 at 23:10 Gufran Hasan 6918 silver badges20 bronze badges asked Sep 11, 2020 at 15:38 SanjeetSanjeet 11 bronze badge 5 |1 Answer
Reset to default 0To assign menu please refer https://codex.wordpress/WordPress_Menu_User_Guide
There is Option to assign static front page https://wordpress/support/article/creating-a-static-front-page/
本文标签: phpHow to set Nav as a default menu in wordpress
版权声明:本文标题:php - How to set Nav as a default menu in wordpress 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742123309a2421823.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
wp_nav_menu()
developer.wordpress/reference/functions/wp_nav_menu – jdm2112 Commented Sep 11, 2020 at 15:44