Archived topic
Read more button does not working
5 replies · Started by Laurent on April 10, 2020
Hi,
Hello,
I’m experiencing a problem with the read more button. When Active, this one link with a weird "#more-2" link on each post.
Only the title of the post is working expect each button.
Any idea of the issue ?
Theme and plugin are updated with the last versions.
Many thanks in advance.
Laurent.
Hi there,
This should help:
https://docs.generatepress.com/article/generate_more_jump/
Adding PHP: https://docs.generatepress.com/article/adding-php/
Let me know :)
OK. I added the code in functions.php of the theme but now each button link to the homepage. Which is not the goal...
It's never a good idea to add code to the theme's core files.
Can you try one of the methods suggested above?
Thanks :)
Hi,
I exactly have the same issue.
After adding this: add_filter( 'generate_more_jump', '__return_false' );
to the functions.php file of the child theme, the Read More Buttons are now all linking to the home page instead of the posts.
Please advise
Hi there,
can you raise a new topic where you can share a link to your site - and we'll take a look at the issue.