• So i can add posts to my home page and it displays the date the post was created and then my cotnent. I run a music website and I have a page for interviews. When I go to edit that page I can only have the one text box. I can’t make more than one post. I don’t want to have one really long page of interviews. I want to have individual posts for each interview. Can anyone help me?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    Make Posts with a category “intervieuws” exclude them from the front page with query posts. make a custom page template to show only your “intervieuws” posts. This is also done with query posts.

    Thread Starter BaXTeR403

    (@baxter403)

    I installed Query Posts but I’m so confused. Is there a step-by-step guide to doing this anywhere?

    Moderator keesiemeijer

    (@keesiemeijer)

    I installed Query Posts

    Query post is part of WordPress you don’t have to install it.

    First create a category “intervieuws”. Change the template file that shows the homepage posts, usually index.php and put a query posts before the loop:

    <?php query_posts( 'cat=-4' ); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <!-- rest of loop -->

    Change ‘cat=-4’ to the category ID of “intervieuws”.
    Now publish some Posts with the category “intervieuws” and see if they are excluded from your frontpage.

    https://blog.compacc.com/

    go to my blog and see if that is what you are talking about…my homepage shows certain posts, then when you click on any of the tabs across the top it narrows it down to different ones

    if so I will be more than happy to give you an entire page script you can use and make new pages/templates for your site

    Hi compacc – I would love to get an entire page script so that I can add posts to different pages

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to add posts to pages other than the home page?’ is closed to new replies.