[Support request] Still can not remove #more tag

Home Forums Support [Support request] Still can not remove #more tag

Home Forums Support Still can not remove #more tag

  • This topic has 5 replies, 3 voices, and was last updated 3 months ago by David.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2213118
    Vadims

    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

    #2213179
    David
    Staff
    Customer Support

    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 ?

    #2213523
    Vadims

    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.

    #2213558
    Leo
    Staff
    Customer Support

    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.

    #2213743
    Vadims

    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:(

    #2213839
    David
    Staff
    Customer Support

    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.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.