WordPress.org

Ready to get started?Download WordPress

Forums

Diamond MultiSite Widgets
Sorting on Blog Name (3 posts)

  1. Nikole Gipps
    Member
    Posted 2 years ago #

    We are using the plugin on a multiblog site.

    I can use diamond-post in the format

    <?php echo do_shortcode('[diamond-post format="<td>{blog}</td><td>{title}</td><td>{date}</td>" count="5" post_limit="1" before_content="<table><tr><th>Blog</th><th>Latest Post</th><th>Post Date</th></tr>" after_content="</table>" before_item="<tr>" after_item="</tr>"]'); ?>

    to make it list all the blogs and their most recent post in a table, but I can't sort by the blog name so they seem all out of order. (They are sorting on the date of posting, newest to oldest, like you would expect from an index page.)

    If I use diamond-bloglist, I don't get the name/link of the most recent post with the post date.

    So ... how can I either sort the diamond-post by blog name, or get the most recent post from diamond-bloglist?

    http://wordpress.org/extend/plugins/diamond-multisite-widgets/

  2. dan77
    Member
    Posted 2 years ago #

    hi nikole,
    I have a similar problem and I'm afraid the plugin, besides being fantastic :), is missing a sorting functionality.

    please keep us updated if you find a solution.

    I solved it with showing both queries underneath each other.
    first bloglist with header images
    than recent blogposts...

    and I would like to combine it, same as you :)

  3. Nikole Gipps
    Member
    Posted 2 years ago #

    I wrote a bunch of PHP post-processing to solve it ... but it's not very pretty ha.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic