All blog post showing #more-2233 or #more-2264 etc at the end of the post url
exm: https://generatepress.com/support/#more-2264
how can i solve this problem? please tell me the simple way to fix this with details
still i cant fix it .
where should i add this php – add_filter( ‘generate_more_jump’, ‘__return_false’ );
I am not an expert in PHP . can i do this with elements using a hook? If can, what option should i select when using hook(on settings) and location(on display rules)
TLDR:
If you’re using a child theme then add the code to your child themes functions.php
If you’re NOT using a child them then install the Code Snippets plugin and add it there.
I am really sorry
I was wrong
when i created a custom hook with this name (generate_more_jump), its working but it show add_filter( ‘generate_more_jump’, ‘__return_false’ ); add_filter( ‘generate_more_jump’, ‘__return_false’ ); in the every blog post before the Read More button.
There is any way to hide this code from blog post that will be perfect
As Leo and I said you need to add it using one of the methods provided. Either a child theme functions.php or the code snippets plugin.
Using hooks you’re inserting the code somewhere either in the core WP Code or a theme template. Whereas that filter needs to be executed before a template is called.