• jcite

    (@jcite)


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

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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.

    Thread Starter jcite

    (@jcite)

    ok, my website is https://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.

    oritzio

    (@oritzio)

    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…

    Thread Starter jcite

    (@jcite)

    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.

    Thread Starter jcite

    (@jcite)

    …. 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?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Posts’ is closed to new replies.