Menu with links containing anchors does not work?

I am using the Fixer theme with Upfront.

When I create a Menu, and add the links, I have found that using a link with an anchor, like the example below, does not work properly if the hyperlink is on a different page than the page with the link:

Notice how the links to "About", "Get a Quote" and "Contact" which have anchors, do not work at all. When clicked - nothing happens... no page refresh, or anything, the click seems to be ignored. However the same links will work on the home page, but not on any other pages.

Comments 15

I'm not sure I understood you exactly in here. The links with anchor on your menus are working fine on your homepage. What is the example link, with anchor, from another page are you trying to add to the menu?

I have tested it on my test site using latest version of Fixer theme and could reproduce the issue that the menu item links having named anchor tags like http://yoursite.com/#about doesn't work on any other pages than the home page of the site.

To be clear, the problem is that when a link has an Anchor, the link will not work if the URL redirects to another page. It doesn't matter which page it is on, homepage, 2ndary etc.

The link will work if the Anchor is on the same page as the Menu, regardless of whether it is on the homepage or a different page. But the link will not work if it is on a different page than the destination of the URL with the Anchor.

Thank you for working on this.
I deactivated and deleted the first plugin
I have found that when I install and activate the new plugin, background images and the home page image slider do not display properly. It looks like images set with Upfront disappear when this new plugin is activated.

That is not the typo but i did it purposefully to rename the function so that if you forget to remove the old plugin then it doesn't generate function already declared error. It's the custom function so we can name it anything we want.

You can use the attached updated plugin and i hope it will resolve all of your link issues.

It's working fine on my test site but as it's displaying the javascript error message as shown in the attached screenshot therefore i have fixed it in the attached plugin so just use it.

If it doesn't work for you then would you mind if I access your site using FTP and did some testing? This might help get to the bottom of this faster. If this is ok, just send log in info through our secured contact form: https://premium.wpmudev.org/contact/
- Choose "I have a different question"
- Include my name in the subject "Vinod Dalvi"
- Include the URL of this post in your message so that I may track this issue better
- Include login information (Wordpress admin info username + password )
- Include FTP Details

How do you rate me?

Thank you for rating your experience!

We’re thrilled to hear you had a great experience with . Would you like to leave a comment about your experience?
Thanks for voting on your experience with , we’d love to get some feedback please.
Ohh no! We’re really sorry to hear you didn’t have a pleasant experience with , we’re always looking at how we can improve and would appreciate you provide some further feedback here please.
Type your feedback here

it's great that you had a positive one. Based on your experience in this ticket would you please be kind enough to rate us externally on: