WordPress.org

Forums

Hide 'read more' link in posts, how? (7 posts)

  1. lemmygoestothepub
    Member
    Posted 3 years ago #

    Hello to all,
    i am trying to hide read more link, as i am not going to use it.

    Is there any way to do it?
    I have read http://codex.wordpress.org/Customizing_the_Read_More
    and didn't find the answer.

    Is there any way to do it?

    Address of my site: http://www.uaifrs.com/

    Thanks in advance!

  2. lemmygoestothepub
    Member
    Posted 3 years ago #

  3. lemmygoestothepub
    Member
    Posted 3 years ago #

    found a solution and it works ok

    in loop.php removed this line

    <span class="read-more">#more-<?php the_ID(); ?>">Read More</span>

    weird.

  4. Not sure what theme you have, but rather than editing loop.php, consider creating a child theme and adding this to the new style.css file:

    .read-more {
       display: none;
    }
  5. robesv
    Member
    Posted 3 years ago #

    I'm working with a child theme of BizPro. I wold like to romove the Read More button.
    I tried to create a functions.php file on the child theme and to put:

    function wdc_no_more_jumping($post) {
    return 'ID).'" class="read-more">'.'Continue Reading'.'';
    }
    add_filter('excerpt_more', 'wdc_no_more_jumping');

    but it dind`t work.

    I also tried the suggestion of Jan, but still no working.

    Any other suggestion in order to remove read more button?

    Thanks

  6. AndyLaws
    Member
    Posted 3 years ago #

    Hey,

    I have the same problem, I could not find how to hide that link (read more).

    Does anyone know any more ways to do it? Any other suggestions?

    I would be really thankfull

  7. robesv
    Member
    Posted 3 years ago #

    I tried also:
    function no_more_jumping($post) {
    return 'ID).'" class="read-more">'.'Continue Reading'.'';
    }
    add_filter('excerpt_more', 'no_more_jumping');
    add_filter('the_content_more_link', 'remove_more_jump_link');

    Always in my functions.php child file, and it didn't work!

Topic Closed

This topic has been closed to new replies.

About this Topic