WordPress.org

Ready to get started?Download WordPress

Forums

Posts (6 posts)

  1. jcite
    Member
    Posted 1 year ago #

    Hi
    Does anyone know how I can make a post on one page that wont show up on another?

  2. Posts normally appear on your blog sections not pages.

    Pages on the other hand display the content published in your pages section and is normally used for static content, such as contact, services, about etc...

    If you can provide a few more details and a link to your site, perhaps we can help.

  3. jcite
    Member
    Posted 1 year ago #

    ok, my website is http://www.jcite.com, an example of want i want is i want my home page to have some posts, and then i want to have a seperate page for different posts.

  4. oritzio
    Member
    Posted 1 year ago #

    OK, if i got you right, you want that in the homepage you'll have your homepage posts, and in another page you wanna load a different category of posts.

    I would create additional page template.
    go into your theme duplicate your page.php then rename it to
    for example: page-posts2.php

    then edit the page-posts2.php and put this code at the top:

    <?php
    /*
    Template Name: Posts2
    */
    ?>

    Now login to the admin panel and go to Pages,
    You should see in the right under Page Attributes -
    Templates - Default template..
    If you'll change it to Posts2 you will be able define the page-posts2.php as you like...

  5. jcite
    Member
    Posted 1 year ago #

    OK, if i got you right, you want that in the homepage you'll have your homepage posts, and in another page you wanna load a different category of posts.

    You are correct, Il try to see if that works, Il post an update.

  6. jcite
    Member
    Posted 1 year ago #

    .... Not sure how to make a new page template, i looked it up and it says i need to use notepad or similar. Can I edit and duplicate the template it wordpress?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.