The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Advanced Most Recent Posts
Styling the After Excerpt Link (2 posts)

  1. ChrisCree
    Posted 4 years ago #

    Adding a class to the After Excerpt link would make that link much easier to style.

    Line 411 in the adv-most-recent.php file could be changed from

    if ($afterexcerptlink) $afterexcerpt_html = '<a href="' . get_permalink($post->ID) . '">' . $afterexcerpt . '</a>';


    if ($afterexcerptlink) $afterexcerpt_html = '<a class="afterexcerpt" href="' . get_permalink($post->ID) . '">' . $afterexcerpt . '</a>';

    Also when a span is added to the After Excerpt link the plugin isn't saving it correctly.

    For example, when I put <span class="readmore">Read More</span> in there the plugin will display the link correctly on the front side of the site. But it only saves <span class= in the After Excerpt field.

    That means the full span code must be pasted in the field every time the widget is saved or the link text disappears.


  2. If you want finer control over the layout/appearance, I'd recommend checking out a plugin I wrote that was inspired by AMRP. It's called Mini Loops.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Most Recent Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic