Using the One page option with anchorpoints in combination with the Enfold theme. It works great and the demo content helps a lot. But… I cannot fit all my content/ pages on the ‘one page’.
There are more locations and each location needs his own page. So they can edit the employees and opening hours, when i create the page it works when clicking from the homepage to the landing page but cause of the anchors i cannot go back?
In Joomla i could specify second menu to show on selected (extra) pages so it was fixable. Is it an option to do so in WordPress? Found the secondary header/menu but that doesn’t do it i want to have them in my main navigation…
So on the external page(s) wich is not on my one page section, i need the anchor links to go to homepage without the #welcome…
Hey Remco12!
Drag a codeblock element over to your pages and add this inside.
<script type = "text/javascript">
jQuery(document).ready(function(){
jQuery('.menu').html('<li class="menu-item current_page_item"><a href="http://www.yoursite.com"><span class="avia-bullet"></span><span class="avia-menu-text">Home</span><span class="avia-menu-fx"><span class="avia-arrow-wrap"><span class="avia-arrow"></span></span></span></a></li>');
});
</script>
And then replace “yoursite.com” with your homepage URL.
Best regards,
Elliott
Hello Elliot,
Works super! Great thanks but…
Now i only see ‘home’ as clickable item, i guess there is no option to get all my menu items/ anchor points in the menu?
If not we need to rethink and maybe rebuild the menu to loose pages…
Hope you get my idea ;-)
Hi!
You can display different menu per page using this plugin -https://wordpress.org/plugins/zen-menu-logic/
Cheers!
Yigit
Thanks case closed!