• 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Cars10

    (@shonu)

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

    [ Moderator note: fixed. ]

    Thread Starter Cars10

    (@shonu)

    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?

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.