WordPress.org

Ready to get started?Download WordPress

Forums

the_excerpt Reloaded (4 posts)

  1. anthonyqkiernan
    Member
    Posted 8 years ago #

    Is there any way to remove the line break before the permalink with this plug in?

  2. iand
    Member
    Posted 8 years ago #

    Yep, I took out the div that wraps the permalink:
    I changed line 82 (ish) from $excerpt .= "<div class=\"more-link\"> <a href=\"". get_permalink() . "#more-$id\">$more_link_text</a></div>";
    to $excerpt .= "<a href=\"". get_permalink() . "#more-$id\">$more_link_text</a>";
    I guess you could swap the div for a span instead.

  3. Kafkaesqui

    Posted 8 years ago #

    Easier option is to place this in your style.css:

    .more-link {
    display: inline;
    }

  4. anthonyqkiernan
    Member
    Posted 8 years ago #

    Cool. Cheers.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.