Hi there - I reformatted the "Read more" link on the blog page but am now trying to move it in line with the excerpt, as seen in the attachment. Could you let me know the best way to do that? Thanks!
changing position of "read more" link
(3 posts)
(2 voices)
-
Posted 9 months ago #
-
Hello,
Go to the theme folder and open the file "lib/functions/theme.php". In line #1046 you will find this block of code:
the_excerpt(); $permalink = get_permalink( get_the_ID() ); if( ( !empty( $disable ) && strpos( $disable, 'more' ) === false ) || empty( $disable ) ) echo apply_filters( 'mysite_read_more', $permalink );Replace it with:
$excerpt = get_the_excerpt(); $permalink = get_permalink( get_the_ID() ); echo '<p>' . $excerpt; if( ( !empty( $disable ) && strpos( $disable, 'more' ) === false ) || empty( $disable ) ) echo apply_filters( 'mysite_read_more', $permalink ); echo '</p>';Try that and let us know the results.
Posted 9 months ago # -
Absolutely beautiful! I need to play with the spacing a bit but I can take it from here. Thanks so much!
Posted 9 months ago #
Reply
You must log in to post.













