WordPress.org

Ideas

Category Options and Future Posts handling

  1. davidbaldwin
    Member

    12345

    Options for how to handle posts in each category, for instance (and the most usefull to me).

    * Display Future Posts
    * Do Not Display Posts older than (Right Now)

    This could allow for a lot of different uses, for instance, I could have a category page of just upcoming events, no plugins, or extra css required.

    If you have more ideas for category options, that would be sweet

    Posted: 7 years ago #
  2. Mark
    Member

    12345

    Having the option to display future posts definitely makes sense. More and more people use WordPress not just as a blogging engine, but as a CMS.

    Posted: 7 years ago #
  3. millik1
    Member

    This is how I display future dates from my 'Gigs' category, without resorting to plugins or modifying core WP code ...

    <?php
    $my_query = new WP_Query('category_name=gigs&post_status=future&order=ASC');
    while ($my_query->have_posts()) : $my_query->the_post();
    $do_not_duplicate = $post->ID;
    ?>

    Works in later versions of WP 2.xx.

    For full details ...

    http://www.keithmillington.co.uk/wordpress/?p=22

    Posted: 6 years ago #
  4. dtopmark
    Member

    This i a great idea. I would like for my readers to be able to see my upcoming posts if at all possible.

    Posted: 5 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    20 Votes
  • Status

    This is plugin territory