Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #532027

    Hi,

    We have a website with 5 “internal” links: anchor links that will just scroll the page to the anchor selected such as #home, #about, #services, #contacts for example.

    We need to have a link called News but this will need to open in a new blog style page. The problem is that once you are on this blog page, any of the links with the anchors will not work because the anchors do not exist on this secondary page.

    Is there a way to open the main anchor links from the secondary page?
    I would prefer to find a solution for the above in a simple way but I thought that creating a new navigation menu can also work? How can I assign a different navigation menu to a specific page only?

    Many thanks

    #532052

    Hi sitesme!

    Please try using this plugin – https://wordpress.org/plugins/zen-menu-logic/

    Cheers!
    Yigit

    #532056

    Thank you Yigit,

    I have found this as a recommendation in another post and it works, but… isn’t there a way to have the anchor links such as #home and #aboutus to work as in index.php/#home or index.php/#aboutus and use only one menu instead of two menus?

    Many thanks.

    #532244

    Hey!

    what is your permalink structure?

    Regards,
    Basilis

    #532351

    Hi Basilis,

    I am using the regular postname permalink method.

    Thank you

    #533035

    Hey!

    Include the absolute url in the link, so #home will be http://mysite.com/#home.

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.