Add Intro to Genesis Posts Page

The aim here is to add a section to the top of your Genesis child theme blog posts index page to display the page title “Blog” or whatever you have named that page and to also display the content added to the blog page as an intro before the list of latest posts are displayed from the loop.

This is an updated version of Robins great article over at http://robincornett.com/posts-page/ however due to the way the majority of Genesis child themes work these days I have modified it so it can be used within the child themes functions.php or custom.php if you are keeping your php customizations separate from the child theme core.

So all you need to do is copy the entire code from the below box which includes two functions and paste it into your functions.php file if you are editing the core files OR if you are using one of the smarter approaches such as hooking in your own custom.php file then you will paste it there or if you are using the Genesis Extender plugin then you will paste it into the plugins custom PHP screen within the dashboard instead.

The second function is a clever one to undo the recent WordPress improvement which hides the content WYSIWYG of your posts page allowing you to add your intro content to the page.

Then all that remains is to add some CSS to make it look attractive though out of the box it should inherit the styles of your Genesis child theme.

Mazepress, Wordpress, Genesis

Email Sucks! My Newsletter Doesn't!

Sign up below with just your email for free and get weekly insights on digital marketing, growth hacking, eCommerce and Social Media in your inbox.

David

Web Designer and Digital Marketer with nearly ten years experience helping small and medium sized businesses evolve and adapt to the modern digital marketplace.

Reader Interactions

Comments

  1. Thanks for the code. Works well in Genesis Sample. I was able to add a custom intro section to the blog page, but the original section above the posts is still there. Not sure why it’s still there or how to get rid of it.

    • Sorry for the delay Jordan. Did you get this resolved? If you share a link it is easier for me to take a look. Also which child theme are you using?

    • Thanks Michael. Sorry about that. Yes you are correct however there are two other approaches you can take in terms of where you place that PHP code. See above article as I have revised it. Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

Get Updates & Free Tips

Keep in Touch

Latest Articles

Best Wordpress Framework

genesis-theme-framework-wordpress

Fast Wordpress Hosting

wp-engine-fast-wordpress-hosting

Low Cost Budget Hosting

bh-ppc-banners-dynamic-430x288