我在wordpress中有一个带有不同菜单栏的站点, 但是我需要在特定页面中放入一种菜单类型。我想要一个名为的标签或属性:
菜单1菜单2菜单3
并且我应该选择要在页面中显示的菜单。
如何为页面创建自定义属性或标签?
P.D. :用于页面而不用于帖子
有任何想法吗 ?
谢谢
#1
在WordPress上, 当你创建菜单时, 它将自动捕获唯一的ID。因此, 你可以通过该ID致电。因此, 你可以简单地通过自定义JS。
插件方式
你可以使用插件来选择哪个菜单显示在哪个页面上。像这样:
PageMenu
OR
Page Specific Menu Items
尝试希望它将对你有帮助。
来源:
https://www.srcmini02.com/64923.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_41172.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57