Advanced Excerpt
[resolved] Advanced excerpt below paragraph tag (3 posts)

  1. MattiasP
    Posted 4 years 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!


  2. basvd
    Posted 4 years ago #

    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.

  3. MattiasP
    Posted 4 years ago #

    Thanks very much for the reply! Works great!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Excerpt
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic