Text Above Posts on a Blog Page – Genesis

Adding text above posts on a blog page  is actually very easy to do in Genesis regardless of what child theme you use. In fact, I do this for every site I create simply as a convenience for my clients. They don’t know they CAN’T without this but you never know if they will try.

1. Coy the page_blog.php file from the Genesis Theme folder into your child theme folder.

2. Open the copied page_blog.php file in your favorite editor.

3. Add this  line above the genesis();

add_action(‘genesis_loop’, ‘genesis_standard_loop’, 5);

4. Save it and re-upload it.

 

0/5 (0 Reviews)

2 thoughts on “Text Above Posts on a Blog Page – Genesis”

  1. Hmmm… Doesn’t work for me on two sites I just tried it with. Both are WP 4.4.2 with Genesis 2.2.6. One uses Outreach-Pro child theme; the other Executive-Pro. I thought that the Reading settings might make a difference, but they don’t seem to. Might this be something that went away in newer versions of Genesis?

    • I just tested it and it worked fine with both themes. It should look like this
      < ?php /** * Genesis Framework. * * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances. * Please do all modifications in the form of a child theme. * * @package Genesis\Templates * @author StudioPress * @license GPL-2.0+ * @link http://my.studiopress.com/themes/genesis/ */ //* Template Name: Blog //* The blog page loop logic is located in lib/structure/loops.php add_action( 'genesis_loop', 'genesis_standard_loop', 5 ); genesis();

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.