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

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

Basic Page Template For Genesis With Image

This page template for Genesis displays a image from your child theme’s images folder named splash.jpg

How To Use This Template

  1. Using a code editor like Notepad++ for Windows or Text Wrangler for Mac, create a new file named splash.php.
  2. Copy the PHP from the view raw link in the Gist below and paste it into the file.
  3. Upload the file to your child theme’s root directory.
  4. Upload a image named splash.jpg to your child theme’s images folder.
  5. Select the template named Splash from the Template drop down menu in the Page Attributes meta box in any Edit Page screen.

PHP Code

Click the view raw link in the Gist and copy the code.

Change Image Position

Swap out the genesis_entry_content hook in the above code with another hook to change image position.

Based on the following question from a member of the Genesis community:

I am trying to create a splash page via a custom template (splash.php) and I can see that the template is showing in the templates drop down when I create a new page.

Tested using the Genesis Sample child theme by StudioPress.

Related Templates

  • Add Unique Header Image To Custom Landing Page Template for Genesis

Background Image

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.