• Hello. Does anyone know a plugin or something else that permit to unpublished an article from the homepage but this article is still visible AND available in the archives list? Thanks for your help.

Viewing 1 replies (of 1 total)
  • Change your archive template (use Template Hierarchy to determine the proper template) to include the post_status arguement with the query.

    As an example, just before the line:
    <?php if (have_posts()) : ?>

    put this:

    <?php query_posts($query_string . '&post_status=publish,pending'); ?>

    The query_posts() article explains the arguments in detail.

Viewing 1 replies (of 1 total)
  • The topic ‘Publish and unpublish articles’ is closed to new replies.