Home Forums Pro Themes Biography Pro Delete "more" tag

Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #62622
    SantaDroid
    Participant

    Dear Support team,

    I would like to get rid of the more link, that is displayed when separating excerpts from pages with the <!–more–> tag.

    For example: In the “services” section I want site visitor to not see the rather unelegant (more…) link but only access the page via clicking on the headline.

    I’d be happy to hear any advice from you.

    Best regards

    #62654
    SantaDroid
    Participant

    Hey again,

    I think I fixed it myself by simply adding

    function modify_read_more_link() {
        return '<a class="more-link" href="' . get_permalink() . '"> </a>';
    }
    add_filter( 'the_content_more_link', 'modify_read_more_link' );

    into my child themes functions.php and just filling in a -space- where the modified text is supposed to go.

    I’ll leave it here in case it is of use for someone else.

    #62683
    wensolutions
    Keymaster

    Hello @mengeler,

    Glad that you figured out the issue by yourself.

    If you have any issues further please feel free to post.

    Best Regards!!

    Have a good day 🙂 .

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