admin管理员组文章数量:1424574
I am currently using the Lodestar theme. My website is built up in a way that the navigation bar at the top leads you to different pages which have a one-page static structure. To allow for navigation in each one of those pages I am searching for a widget that allows for inner-page navigation. Meaning that if you click on a title in this navigation widget you jump in the same page to a specific block.
I have an example here that might give you an idea what exactly I am looking for:
/
Thank you
I am currently using the Lodestar theme. My website is built up in a way that the navigation bar at the top leads you to different pages which have a one-page static structure. To allow for navigation in each one of those pages I am searching for a widget that allows for inner-page navigation. Meaning that if you click on a title in this navigation widget you jump in the same page to a specific block.
I have an example here that might give you an idea what exactly I am looking for:
http://globallearningfactory/industrie-4-0/
Thank you
Share Improve this question edited Jun 7, 2019 at 14:24 fuxia♦ 107k39 gold badges255 silver badges459 bronze badges asked Jun 7, 2019 at 14:23 freak14freak14 11 Answer
Reset to default 0You can add a menu item whose link goes to a specific section on the same page or a section on a different page. This works with any WordPress menu, which you can create and edit by clicking Appearance > Menus in the WordPress admin panel.
This technique involves two steps: adding a unique ID to the target section in a Lodestar theme layout, then adding the link with that unique ID to your WordPress menu.
Add the unique ID to a menu item:
- On the WordPress admin menu, click Appearance > Menus and make sure the menu you want to use is displayed.
- In the left column expand the Custom links category.
- Enter the full URL of the target page in which the section occurs, followed by the pound sign and your ID. For example, if the section occurs on the page https://www.example/goals/, then your URL would be: https://www.example/goals/#my-unique-id
- Enter whatever link text you want your menu item to display. Click Add to menu.
本文标签: navigationSearching for a one page overview widget
版权声明:本文标题:navigation - Searching for a one page overview widget 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745427352a2658174.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论