MattiasP
Member
Posted 5 months ago #
Hi there!
Here is what I´m trying to achive: http://dump.1g.se/upload/Zh93.png
So I´m wondering if there´s any way of getting the excerpt link outside of the paragraph tag, like the Read more button-image in the picture above, but still leaving the ellipsis in there. This will make it easier to add margin-bottom to the paragraph to align the excerpt link and post created date. Or there maybe is some better solution to this?
Thanks in advance for answers!
http://wordpress.org/extend/plugins/advanced-excerpt/
If you don't want the read-more link inline with the text you have to modify your theme. The following code outputs a permalink:
<?php printf('<a href="%s" class="read_more">%s</a>', get_permalink(), 'Read more'); ?>
Add it somewhere in your theme's post loop. You should also disable the 'add link to excerpt' option so you don't get two links.
MattiasP
Member
Posted 5 months ago #
Thanks very much for the reply! Works great!