Archived topic
how to make static home page also blog page ?
15 replies · Started by T P on March 15, 2015
How do I make the home page a static page but also the blog page simultaneously?
Hi there,
1. Add a new page called "Home" (or whatever you like).
2. Add a new blank page called "Blog" (or whatever you like).
3. Go to "Settings > Reading" and set the front page to your new home page, and the posts page to your new blog page.
Let me know if that helps or not :)
Didn't work & also nav menu keeps going back to diplay "=menu" ???
What about it didn't work? This page has more info on what I explained above: http://codex.wordpress.org/Creating_a_Static_Front_Page
What do you mean by your menu keeps going to display="menu"? display="menu" wouldn't be valid HTML, so I'm not sure what could be causing anything like that.
Let me know :)
Hey Tom, What about if I want to Have a static home page that has blog posts on it. So I want to use the sections thing that you added to build a static page, but then under that for example I want my recent posts to show. Essentially I like the way the blog page looks, I just want to add something above it using the sections tool or whatever other method.
Rylan
The best way to add something above the blog posts is to use the Page Header add-on in "Appearance > Blog Page Header" - however that's only one section.
The other option is to use a plugin like to to display posts with a shortcode: https://wordpress.org/plugins/display-posts-shortcode/
Hi Tom,
this seems to be my problem exactly, so I'll just post my question here. Tell me if it's easier for you if I open up a new ticket.
I created a new page ("Home") and put the info I want shown above my blog posts into the page header section. I then set it as Post page (at /wp-admin/options-reading.php) and went to the customizer. At Layout/Page Header I chose "Page Header Location" above the content. Yet, nothing shows up on my front page. The page title is now "Home", but that's the only difference.
Thanks in advance and all the best
Dennis
Hi Dennis,
Just making sure there are already posts published to be displayed?
The instructions (http://codex.wordpress.org/Creating_a_Static_Front_Page) is from WordPress themselves so it should still work.
Let us know.
The on-page meta box for the blog page is ignored by WordPress.
You need to add your Blog page header in "Customize > Blog > Blog Page Header".
Hello,
I'm having the same problem on applying post loop into static page. I want the same post loop that i customized on cuztomizing sections.
Hi there,
Not sure what you mean? Are you wanting to show posts using sections?
Maybe Tom's WP Show Posts plugin will help? https://en-ca.wordpress.org/plugins/wp-show-posts/
Sorry, not the sections. What i meant before, i wanted my front page to have the post loop. But when i changed it to static page, the post loop is gone. But i wanted my front page to be static page for some reason.
But yeah, thanks for the plugin, i manage to get the post loop even tho it does not look the same as i set "Your latest post" on front page .
Anyway, plugins still does the job. Now all i want is the author and the date to be unclickable (no link, just display). It is posible?
Here's my site http://cuba.sucomi.com/
Hmm try this: https://gist.github.com/generatepress/67fb28af5c8be3103290
Adding PHP: https://docs.generatepress.com/article/adding-php/
Désolé, j'ouvre un autre sujet ...
Hi Leo,
It doesn't work for the post loop. It is because the post loop itself from the plugin?