ThemeShaper Forums » Thematic

[closed]

sort selected posts by modified date

(3 posts)
  • Started 4 years ago by Erin
  • Latest reply from daveread
  • This topic is not resolved
  1. Erin
    Member

    I have some posts that I frequently update; I indicate this in the post with custom fields - if TRUE, it displays the_modified_date instead of the_date.

    Now I would like to reorder my posts on the index page to reflect modified dates. Not all modified dates, but only those where the custom field is TRUE (sometimes I edit typos and broken links; I don't want those reordered).

    This doesn't work because it reorders all posts. Does anyone have any suggestions?

    /* reorder posts with custom field = TRUE on index page by modified date
    */
    function modified_posts_custom_query() {
    query_posts($query_string . '&orderby=modified');
    }
    add_action('thematic_above_indexloop', 'modified_posts_custom_query');

    Posted 4 years ago #
  2. Erin
    Member

    OK - I know now this has less to do with Thematic, and more to do with WP. I am still stuck would appreciate even a nudge in the right direction. I did find a plugin that has not been updated for wp2.9. It no longer properly distinguishes between major and minor edits. Any chance someone has a couple minutes to respond? http://www.terenzani.it/29/editing-manager-plugin-wordpress/

    Posted 4 years ago #
  3. Looking to do something similar on my thematic childtheme - I need to learn how to add this to the post template:

    <?php mdv_last_modified(); ?>

    which should activate the Last Modified plugin.

    Posted 2 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.