WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
Add more pattern options: {url}, {title_text}, {excerpt} (2 posts)

  1. fastfedora
    Member
    Posted 1 year ago #

    Please consider adding "{url}" and "{title_text}" as additional options for the pattern_form attribute. This would allow two things: a) a class to be assigned to the title link, and a "Read More >" link to be added to the pattern.

    For instance, I'd like to be able to do the following:

    [wpp do_pattern=1 pattern_form='{title_text}
    {summary} Read Now >']

    Alternatively, it'd be nice if an {excerpt} tag existed that took the excerpt from get_the_excerpt() instead of manually creating the summary. Right now I have a filter on 'wp_trim_excerpt' which adds the Read Now link automatically. But this doesn't seem to work with WPP, {summary} simply returns the excerpt text, even when excerpt_format=1.

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

  2. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Hi there,

    I've been considering this for a while now, just haven't had enough time to do it. Will do after I solve some other stuff that needs work now.

    Thanks for your suggestion!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.