• 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

Custom Page Template in Genesis

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 › Design Tips and Tricks › Custom Page Template in Genesis

This topic is: not resolved

Tagged: custom page template

  • This topic has 4 replies, 2 voices, and was last updated 7 years, 11 months ago by Brad Dalton.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • April 9, 2015 at 8:41 pm #147266
    EZEarache
    Member

    Hi All,

    I'm brand new to Genesis, but have made quite a few custom child themes based off of Twentytwelve. I'm having some trouble wrapping my head around Hooks. This is a pretty new concept to me.

    I'm trying to make a custom page where I can place a slideshow above the entry-header and entry-content. Then below entry-content I want to add three widget areas. It seems simple enough, and I've even read a few tutorials that explain the framework.php, but after eight hours, I still haven't gotten it to work.

    I have been able to get the following to work, sort of, but it seems to strip out a lot of the responsiveness functionality. I haven't bothered to try and put the widgets into it just yet since the responsiveness isn't working.

    <?php /*
    Template Name: Home Page Template
    */ ?>
    
    <?php get_header(); ?>
    
    <?php genesis_before_content_sidebar_wrap(); ?>
    <div id="content-sidebar-wrap">
    
    <?php genesis_before_content(); ?>
    <div id="content" class="hfeed">
    
    <?php do_action('slideshow_deploy', '20'); ?>
    <?php genesis_before_loop(); ?>
    <?php genesis_loop(); ?>
    <?php genesis_after_loop(); ?>
    
    </div><!-- end #content -->
    <?php genesis_after_content(); ?>
    
    </div><!-- end #content-sidebar-wrap -->
    <?php genesis_after_content_sidebar_wrap(); ?>
    
    <?php get_footer(); ?>

    Any help or insight that you can give me would be greatly appreciated.

    Also, does a URL I enter get indexed by search engines in this forum?

    April 10, 2015 at 2:55 am #147284
    Brad Dalton
    Participant

    No need to use that code because the genesis(); function already outputs the default page hooks and markup elements.

    I assume you want something like this:

    genesis-page-template


    Tutorials for StudioPress Themes.

    April 10, 2015 at 6:29 am #147308
    EZEarache
    Member

    Hi Braddalton,

    Thanks soooo much for getting back to me.

    More like this, no sidebar with two of the widgets on the bottom stacked on top of each other.

    http://i225.photobucket.com/albums/dd110/ortnergr/genesis-page-template.png

    Also, do links to URLs get indexed here?

    April 12, 2015 at 12:30 pm #147482
    EZEarache
    Member

    Hi,

    Thanks for pointing me in the right direction here. I found two of your blog posts extremely helpful in understanding the functions and hooks!

    I was able to get widget areas to display on my site following these directions.

    http://wpsites.net/web-design/widget-genesis/
    http://wpsites.net/web-design/add-widget-area-before-content/
    http://genesistutorials.com/visual-hook-guide/

    I still would love to know if these links get indexed?

    April 13, 2015 at 3:42 am #147690
    Brad Dalton
    Participant

    Sorry which links exactly?

    If you're referring to the links within the body of replies on these forums i think the answers is no because they're all no follow links.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ 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

© 2023 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