Archived topic
Still can not remove #more tag
5 replies · Started by Vadims on May 8, 2022
Dear sirs, First of all, thank you for your great product. But I have one small problem.
I using "Contentviews" plugin for my blog on main page, and its always tag #more in new link, when I press the "read more: button.
Tried to add add_filter( 'generate_more_jump', '__return_false' ); everywhere (function.php, using simple css plugin, additional css and nothing.
P.s. But is no problem on my other site with Generatepress and Contentviews plugin.
How can I fix this issue?
Thank you
Hi there,
i am not seeing the Content Views plugin in the home page. So if they are the GP articles then adding:
add_filter( 'generate_more_jump', '__return_false' ); should work.
Are you using a Child theme on your site ?
No, I'm not using Child Theme, but I tried to add CSS to function.php to the theme fail via server. Doesn't work.
It's never a good idea to modify the function.php of the parent theme.
Can you try adding the code using one of these methods?
Adding PHP: https://docs.generatepress.com/article/adding-php/
The code is correct and should definitely work.
The problem is, that code-snippets "This plugin has been closed as of May 4, 2022 and is not available for download. This closure is temporary, pending a full review".
The second method doesn't work for me:(
Try this:
1. Copy this into a Text Editor ( or preferably an IDE application ) :
<?php
/*
Plugin Name: Remove More Jump
Plugin URI: https://www.assemblewp.com
Description: Remove jump link from read more
Version: 0.1
Author: diggeddy
Author URI: https://www.assemblewp.com
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: assemblewp
Domain Path: /languages
*/
add_filter( 'generate_more_jump', '__return_false' );
2. Save the file as: remove-more.php into a folder named Remove more.
3. Compress the folder into a .zip file.
4. Install it as a plugin on your site.
After doing so clear any caches on the site.