How to add read more link to blog page

Support Forums for LiveMesh Themes & Plugins Forums Squash Theme Support How to add read more link to blog page

Tagged: 

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #857
    Livemeshlivemesh
    Keymaster

    To add read more link to blog page, do a quick code change as detailed below.

    Remove or comment out the following line of code in {theme directory}/framework/extensions/framework-extender.php –

    add_filter('the_content_more_link', array(&$this, 'remove_more_link'));
    

    and then insert the following CSS into Custom CSS tab in theme options panel –

    a.more-link {
    background: none !important;
    display: block; /* Push the link to next line */
    }
    

    And in the General Tab of theme options panel, you will need to set the option ‘Show Content in Archive Pages’ as shown below –

    https://docs.google.com/file/d/0B9j6FQo4cSQFWFctX2kzaWFTeHM/edit?usp=drivesdk

    Make sure you use the WP more tag to post content as detailed below –

    http://codex.wordpress.org/Customizing_the_Read_More

    If you do not want to go for more tags and do not want to set the option, ‘Show Content in Archive Pages’ and instead want to use excerpts, pls see the the page

    http://codex.wordpress.org/Excerpt#How_to_add_a_link_beneath_an_excerpt_to_the_full_post

    for a way to insert a ‘Read More’ link to the blog page.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.