- This topic has 15 replies, 7 voices, and was last updated 6 years, 1 month ago by
Leo.
-
AuthorPosts
-
March 15, 2015 at 12:27 pm #87096
T P
How do I make the home page a static page but also the blog page simultaneously?
March 15, 2015 at 2:56 pm #87122Tom
Lead DeveloperLead DeveloperHi 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 🙂
March 16, 2015 at 12:50 pm #87554T P
Didn’t work & also nav menu keeps going back to diplay “=menu” ???
March 16, 2015 at 3:47 pm #87604Tom
Lead DeveloperLead DeveloperWhat 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 🙂
January 15, 2016 at 3:21 pm #165980Rylan
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
January 16, 2016 at 12:14 am #166008Tom
Lead DeveloperLead DeveloperThe 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/
April 18, 2017 at 7:03 am #307295Dennis
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
DennisApril 18, 2017 at 8:40 am #307326Leo
StaffCustomer SupportHi 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.
April 18, 2017 at 9:43 am #307371Tom
Lead DeveloperLead DeveloperThe 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”.
August 21, 2017 at 1:26 am #370223Sucomi
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.
August 21, 2017 at 8:03 am #370419Leo
StaffCustomer SupportHi 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/
August 27, 2017 at 9:05 pm #374456Sucomi
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/
August 27, 2017 at 10:25 pm #374475Leo
StaffCustomer SupportHmm try this: https://gist.github.com/generatepress/67fb28af5c8be3103290
Adding PHP: https://docs.generatepress.com/article/adding-php/
August 28, 2017 at 12:31 am #374499jean
Désolé, j’ouvre un autre sujet …
August 28, 2017 at 3:47 am #374584Sucomi
Hi Leo,
It doesn’t work for the post loop. It is because the post loop itself from the plugin?
-
AuthorPosts
- You must be logged in to reply to this topic.