Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38725
    Asmal
    Member

    Hello, for each of my posts, I use the ‘more’ tag and it works fine on the blog page.

    However, from the blog page, if you click on ‘Continue Reading’, it takes you to the post where the article continues after the ‘more’ tag.

    Is there any way to have it display like a normal webpage and have it start from the very top of the page?

    #38739
    Sakin
    Keymaster

    @Asmal: This is default setting of WordPress. Read this http://codex.wordpress.org/Customizing_the_Read_More. There is two option to change this.
    1. Build child theme and add the following code in your child theme functions.php file.

    /* Prevent Page Scroll When Clicking the More Link */
    function catcheverest_remove_more_link_scroll( $link ) {
    	$link = preg_replace( '|#more-[0-9]+|', '', $link );
    	return $link;
    }
    add_filter( 'the_content_more_link', 'catcheverest_remove_more_link_scroll' );

    2. Or you can simple simply use the plugin like StripTease

    #38755
    Asmal
    Member

    Thanks for the quick reply!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Continue Reading to Top’ is closed to new replies.