Anchor Links not working on client site

Hello There,

We are having an issue where the anchor links on one of our client’s site are not working.

The Book Appointment buttons are supposed to link (#apptform) to the bottom form section of the page, which has the ID: apptform, but when clicked nothing happens and the page URL changes to show https://physiocareathome.com/in-home-physiotherapy/#apptform.

The function appears to work correctly on the back end in cornerstone, but not on the front end. Any help you could provide would be appreciated. Thank you.

Hi @coracle,

Thank you for writing in, It seems you updated the Cornerstone to the latest version (5.3.3), but you leave X theme behind (8.1.5). Please update X theme to the latest version (8.3.3).

Updating Your Themes and Plugins

Remember to clear all your caching features (plugin, server-side, CDN, and browser’s cache) after updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

Let us know how it goes,
Cheers!

Thank you for your quick reply!

I have updated X theme and cleared the caches, but the buttons still do not appear to be working with the same problem persisting. Would you have any other suggestions?

Thanks

Hello @coracle,

There is a JS error on the page that affects the link. You have added this code incorrectly.

<script src=”google.com/recaptcha/api.js” async defer></script>

Please remove it for the moment and test your site. The proper way of adding the code above to your site is by installing “Insert Headers and Footers” plugin.

If nothing is helping, provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
- Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.