• Hi,
    i’ve started a music blog a few days ago and we are willing to launch a new section.
    I created the static page: http://getfunky.fr/mfs/.

    Ok here’s the thing:
    I’d like to make posts in this specific page only. They are not related with the rest of the blog. It’s not the same music it’s different stuff that I don’t want to run with the categories as its going to be radically different from what we post in the “main” blog.
    So how can I avoid the “music for shorts” posts to appear on the index and only in the “music for shorts” page.

    Thanks 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • You should create the category “music for shorts”, exclude this category from the “main” blog (we assume the category has the ID 3)

    <?php query_posts($query_string . '&cat=-3'); ?>
     <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

    and the “music for shorts” page should be an archive page of category 3.

    Thread Starter getfunky

    (@getfunky)

    Ok good.
    Where do I paste the code ? index.php ? page.php ?

    Thread Starter getfunky

    (@getfunky)

    or should it be in the sidebar ? all my cats are listed in the sidebar..

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘posting into a page’ is closed to new replies.