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

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

  1. 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’)

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.