• 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 on genesis sample theme

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 on genesis sample theme

This topic is: not resolved

Tagged: custom page template, genesis sample

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 11 months ago by webgirl20.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 15, 2015 at 5:15 am #147736
    webgirl20
    Member

    Hello,
    I have just recently started using the genesis framework & am using the genesis sample child theme,
    I have looked through the forums regarding custom page templates & googled, couldn't seem to find
    the answer I wanted. The website is not live so cannot post a link but have added the webpage, css & php.
    CSS link here, PHP link here,
    webpage link

    1. what is the correct code for the custom page template using the full page layout, is it:
    // added code to functions.php file, code snippet is from studiopress code snippet page

    // add full width layout
    add_filter('genesis_pre_get_option_site_layout', '_genesis_return_full_width_content');

    
    <?php 
    /*
     * Template Name: Catalogue
    */ ?>
    
    // add your content onto page
    
    <?php
    genesis(); ?> 
    

    2. I also want to remove some of the widgets like breadcrumbs & search as I want to learn how to code it
    3. What would be the best way to remove either the site-title or primary nav so the logo sits between catalogue & forum
    like the header of this website .

    Any suggestions greatly appreciated.
    Thanks

    April 15, 2015 at 6:59 am #147991
    Brad Dalton
    Participant

    Try the code snippets http://my.studiopress.com/snippets/


    Tutorials for StudioPress Themes.

    April 17, 2015 at 10:14 am #148244
    webgirl20
    Member

    I am curious, how would you know if the breadcrumb & search widgets have been removed.
    Typed this:

    //* Unregister Genesis widgets
    add_action( 'widgets_init', 'unregister_genesis_widgets', 20 );
    function unregister_genesis_widgets() {
    	unregister_widget( 'Genesis_eNews_Updates' );
    	unregister_widget( 'Genesis_Featured_Page' );
    	unregister_widget( 'Genesis_Featured_Post' );
    	unregister_widget( 'Genesis_Latest_Tweets_Widget' );
    	unregister_widget( 'Genesis_Menu_Pages_Widget' );
    	unregister_widget( 'Genesis_User_Profile_Widget' );
    	unregister_widget( 'Genesis_Widget_Menu_Categories' );
      	unregister_widget( 'Genesis_search' );
      	unregister_widget( 'Genesis_breadcrumb' );
    }
    

    Thanks

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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