• Does anyone know how to show the newest posting on a static page AND then all the rest like a normal blog.

    I know you can assign the number of posts per page, but that does every page after it.

    I just want the latest post on the first page and then when you click to the next page, it is a normal blog with like 7 posts on it?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have you tried using the functionality of a home.php page in your theme(s).

    The home page will be displayed first when visiting your blog and any “Home” links by the blog. The index page will display when the home page is not, or in other words, the next page after the home page.

    You can copy your index page to a new file called home.php and drop it into your theme folder. Then, edit the home.php file to only show your most recent post, plus any additional code you want to add to make it different than your “normal blog” page.

    You might need to adjust your index page to not show the most recent post as well.

    Thread Starter jeffreytgomez

    (@jeffreytgomez)

    Good ideas! Thanks, I will certainly try it.

    man this is not working.when i redirect it will go to the same home page

    The get posts plugin lets you pull posts onto your page using a shortcode that works just like the get_posts template function. It accepts all of the same parameters, so you could do something like this in your page’s content (add in HTML view so no HTML substitution goes on):

    [get_posts numberposts=15 orderby="date"]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to put latest post on static page’ is closed to new replies.