WordPress.org

Ready to get started?Download WordPress

Forums

Latest Posts by Author
[Latest Posts by Author] Choice of how how to return list (3 posts)

  1. Shonu
    Member
    Posted 2 years ago #

    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?

    http://wordpress.org/extend/plugins/latest-posts-by-author/

  2. Shonu
    Member
    Posted 2 years ago #

    Oh great, I f*#?!ยง up the page not using backticks....

    [ Moderator note: fixed. ]

  3. Shonu
    Member
    Posted 2 years ago #

    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 ul/ol tags.

    What do you think?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.