Horje
How to Remove "Read More" page jumps

Instead return to the top of the page. You know how when you click "read more" it will jump to the spot in the page which can be annoying, this makes it just load the page normally, no jumping!


Remove "Read More" page jumps**

Just copy and paste following codes to yourdomain.com/wp-content/themes/activated-theme/fucntions.php in the most below.
Example: PHP
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');





Related Articles
How to Customize the Dashboard Wordpress Dashboard Shortcode
How to Remove unwanted dashboard items Wordpress Dashboard Shortcode
How to Remove "Read More" page jumps Wordpress Dashboard Shortcode

Single Articles
Remove "Read More" page jumps**Wordpress Dashboard Shortcode

Read Full:
Wordpress Dashboard Shortcode
Category:
Web Tutorial
Sub Category:
Wordpress Dashboard Shortcode
Uploaded:
1 year ago
Uploaded by:
Admin
Views:
56



Share on: