Last week I changed the layout of my site’s homepage. Earlier it was showing my latest posts. But now it is displaying a welcome note and post excerpts of some latest posts in two columns. This is actually a Graphene theme feature. After I made changes in frontpage layout, some of the Graphene theme users started to ask me, “How did you change your front page look?” Well, in this post I’m gonna show you how to enable Homepage Panes in Graphene Theme. Please note that Homepage Panes can be enabled only when using static frontpage in your site.
First step: Create a new Page with some content in it, like welcome note. Of course, give it a title.
If you want to show your recent posts somewhere else just like the homepage, then create another blank page and call it Blog or something like that.
2nd step: Go to Settings–>Reading settings
3rd step: In Reading Settings–> Front page displays, select “A static page“. Then select the welcome page that you created in the first step for Front page.
If you want to enable WordPress’s blogging functionality, then select Blog as Posts page. Your recent posts will be displayed in that page.
4th step: Click on Graphene Options under Appearance.
5th step: In Graphene Options–> General–> Homepage Panes, select the “Type of content to show“, i.e Latest posts/Latest posts by category or Posts and/or Pages. Then enter the “Number of posts to display” of your choice. (example: 6 or 8). Then save Settings.
That’s all!! Now open your site and check whether the panes are showing up properly or not..
Bug: There is a bug in Graphene 1.5.5 which replicates the post excerpts in panes. To solve this issue, open
footer.php file and remove this line,
<?php do_action( 'graphene_bottom_content' ); ?>
This bug has been fixed in Graphene 1.5.6
You can hide the welcome message page by adding this code to custom CSS
with the id of the welcome page.
Leave comments. Thank you!