WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] "Bump Article" (5 posts)

  1. aprilia
    Member
    Posted 8 years ago #

    If I have a relevant update to an article that is 'old' yet not time sensitive and want to bump it like on a discussion forum, is there a way to do that? I can always repost it or submit a short "check this update out", but was wondering if there was a cleaner way.

    Thanks.

  2. tomhanna
    Member
    Posted 8 years ago #

    The CG-PostOrder plugin might be useful to you, part of CG-Powerpack.

    http://www.chait.net/index.php?p=238

  3. Lorelle
    Member
    Posted 8 years ago #

    The plugin may help, but what I've done is one of two things. First, set the article in draft mode, make your changes, and then publish it. It should take on the new publish date and time.

    Second, edit and make whatever changes you like, and then change the date and time in the Advanced Edit Post Options below the write post text area.

  4. aprilia
    Member
    Posted 8 years ago #

    Thanks a bunch!

  5. Kafkaesqui

    Posted 8 years ago #

    There's a hack that will let you accomplish this through query_posts() (considering PostOrder requires an edit to the core, it's no worse):

    Around line 475 in classes.php (wp-includes/ directory), change:

    $allowed_keys = array('author','date','category','title');

    to:

    $allowed_keys = array('author','date','category','title','modified');

    Then in your theme's index.php template, add this just before The Loop:

    <?php query_posts('orderby=modified'); ?>

    May require a bit more than that though, depending on your setup. But it will then sort posts by last modified (i.e. edited) date.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags