Positioning Continue Reading ..

Discussion in 'ColorWay WordPress Theme' started by thomasbarnes, Feb 27, 2013.

  1. thomasbarnes

    thomasbarnes New Member

    Joined:
    Aug 12, 2012
    Messages:
    2
    Likes Received:
    0
    Is there a way to position the 'Continue Reading ..' on the blog excerpt directly after the blog excerpt where the [...] is located?

    Lind regards,
    Tommy
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Go to blog.php present in your theme directory and remove the code given below

    Code:
    <a href="<?php the_permalink() ?>">Continue Reading...</a> 
    Sending image for reference

    [​IMG]


    Now,

    Go to Functions > Theme function.php present in your theme directory and add the code given below

    Code:
     function new_excerpt_more($more) {
    global $post;
    return '<a class="moretag" href="'. get_permalink($post->ID) . '"> Continue reading...</a>';
    }
    add_filter('excerpt_more', 'new_excerpt_more');
    Sending image for reference

    [​IMG]

    This will solve your issue.
     

Share This Page