[Latest Posts by Author] Choice of how how to return list
-
The shortcode always returns an unumbered list. I’d like to add more flexibilty:
[latestbyauthor author=”shonu” show=”3″ style=”[-]table|[-]ul|[-]ol,div,span”]
the style attribute gives the choice of what tags are going to be returned.
The [-] are prefixed to the tag names to indicate whether the whole shebang is wrapped in the main container tags if appicable, e.g. only
<tr>...</tr>
or<li>...</li>
instead of the Table or ulo/ol tags.What do you think?
https://www.ads-software.com/extend/plugins/latest-posts-by-author/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Latest Posts by Author] Choice of how how to return list’ is closed to new replies.