the Read More tag (1 post)

  1. freshdaddy
    Posted 7 years ago #

    What is the solution to making it to when you click the 'Read More' tage that the page jumps to the top of the post instead of the middle of the post?

    Thank you, I know it's simple, but it keeps not working when I post the:

    function remove_more_jump_link($link) {
    $offset = strpos($link, '#more-');
    if ($offset) {
    $end = strpos($link, '"',$offset);
    if ($end) {
    $link = substr_replace($link, '', $offset, $end-$offset);
    return $link;
    add_filter('the_content_more_link', 'remove_more_jump_link');

    like it says to do on wordpress.org

Topic Closed

This topic has been closed to new replies.

About this Topic