• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

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

Reader Interactions

Comments

  1. Easy mark says

    November 21, 2014 at 10:15 pm

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

    Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems