Plugin Author
Stiofan
(@stiofansisland)
OceanWP seem to have a general catch all JS function that prevents page navigation if the linked to anchor is also on the current page, I have opened a support topic to see if they can fix it: https://wordpress.org/support/topic/anchor-links-to-different-pages-not-working/#new-topic-0
If they can’t or won’t fix it then we will look at our own workaround.
Thanks,
Stiofan
It’s me to thank so much Stiofan 🙂
Hi,
You can try following code in the functions.php file of the currently active theme or via the Code Snippets plugin and let me know if it helps or not:
add_filter('uwp_add_tab_content_hashtag', 'uwp_add_tab_content_hashtag_cb');
function uwp_add_tab_content_hashtag_cb(){
return false;
}
This will remove the hash in the URL which is just scrolling the content due to the theme.
Regards,
Patrik