• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Homepage to interior template conversion

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Homepage to interior template conversion

This topic is: not resolved

Tagged: Altitude Pro, widget background

  • This topic has 4 replies, 3 voices, and was last updated 8 years, 6 months ago by Brad Dalton.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • May 27, 2015 at 8:43 pm #153900
    sarahann
    Member

    Is there an easy way to convert a homepage template into an interior template? I'm using Altitude Pro.

    Thanks,
    Sarah

    May 27, 2015 at 10:53 pm #153909
    Brad Dalton
    Participant

    1. Copy the file and rename it to something like page_custom.php
    2. Add the following after the opening PHP tag at the start of the file

    /*
    Template Name: Custom Template
     */
    

    3. Rename all the widgets so they have unique function names and widget I.D's

    Example:

    Change this:

    is_active_sidebar( 'front-page-1' ) 
    

    To this

    is_active_sidebar( 'custom-page-1' )
    

    and change this

    genesis_widget_area( 'front-page-1', array( 
    

    To this:

    genesis_widget_area( 'custom-page-1', array(
    

    4. Duplicate all the code to register the widgets from the functions file and change the widget I.D's to match what you have in the new template.

    Example

    Change this:

    genesis_register_sidebar( array(
    	'id'          => 'front-page-1',
    	'name'        => __( 'Front Page 1', 'altitude' ),
    	'description' => __( 'This is the front page 1 section.', 'altitude' ),
    ) );
    

    To this

    genesis_register_sidebar( array(
    	'id'          => 'custom-page-1',
    	'name'        => __( 'Custom Page 1', 'altitude' ),
    	'description' => __( 'This is the custom page 1 section.', 'altitude' ),
    ) );
    

    5. All function names need to be unique.

    Example.

    Change this

    add_action( 'wp_enqueue_scripts', 'altitude_enqueue_altitude_script' );
    		function altitude_enqueue_altitude_script() {
    

    To this:

    add_action( 'wp_enqueue_scripts', 'custom_enqueue_altitude_script' );
    function custom_enqueue_altitude_script() {
    

    Tutorials for StudioPress Themes.

    May 28, 2015 at 1:31 pm #154009
    sarahann
    Member

    Awesome, thanks very much!

    January 10, 2018 at 11:54 pm #215292
    MikeFromTracer
    Member

    Hi Brad

    Thanks for this, really helped me too.

    Just wondering if there is a way to use the WordPress Customizer to upload background images to this new Custom page like the original front page for Altitude Pro does.

    Thanks in advance

    January 11, 2018 at 1:24 am #215293
    Brad Dalton
    Participant

    Yes, you can use this tutorial

    Or

    You may find the complete solution in 1 of these tutorials


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble