[Plugin: WordPress Popular Posts] Add more pattern options: {url}, {title_text}, {excerpt}
-
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.
The topic ‘[Plugin: WordPress Popular Posts] Add more pattern options: {url}, {title_text}, {excerpt}’ is closed to new replies.