Add Intro Text Before Content On 1st Page of Front Page in Genesis

This code creates a new widget area which you can use to use to add a welcome message.

The code will work on any Genesis child theme and comes from the Ambiance Pro child theme by StudioPress.

You can grab the CSS to style your intro text widget the same as the themes demo from the child themes style.css file starting on line 1127.

This post answers this forum question:

I am trying to figure out how to create the intro text that is just above the main body of text in the post found in the Ambiance Pro


Comments

One response to “Add Intro Text Before Content On 1st Page of Front Page in Genesis”

  1. Easy mark Avatar

    Quick question, Brad:

    What do the two underscores mean when setting values for the array?

    For example:

    ‘name’ => __( ‘Welcome Message’, ‘ambiance’ ),

    And is the __ built into php, into wordpress, or part of genesis?

    Thanks in advance.

    (If I were a guessing man, I would guess that __ stands for ‘array’ since it looks like ‘name’ is an array with the values ‘Welcome Message’ and ‘ambiance’)

Leave a Reply

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.