Archived topic
Clicking button goes to another url with "#more-"
2 replies · Started by Jee on April 16, 2020
On the homepage, I have a "continue reading" (read more) button. When you click on the button to go to a post, it adds a "#more- " plus some numbers to the end of the url. How can I get rid of the "#more" so that clicking the button goes to the same url as the post?
Found the answer!
Added this:
add_filter( 'generate_more_jump','generate_disable_more_jump' );
function generate_disable_more_jump()
{
return '';
}
Hi there,
Yup this is the documentation page for it:
https://docs.generatepress.com/article/generate_more_jump/