• 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

Add page template to child 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 › Add page template to child theme

This topic is: not resolved

Tagged: page template, template_include

  • This topic has 7 replies, 3 voices, and was last updated 7 years, 9 months ago by darkpollo.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • March 2, 2016 at 5:38 pm #180484
    darkpollo
    Member

    Hi,
    I am using the showcase pro child theme.
    I would like to add a template page but I would like to add it on a way that wont be replaced when updating the theme.

    I am using a plugin to load functions into the installation, but I am not sure how to create a function that tells the theme that there is another template and that it is not located on the theme folder but on this plugin folder.

    Any suggestions?

    Thanks

    March 3, 2016 at 4:03 am #180514
    Brad Dalton
    Participant

    Here's 2 examples:

    http://wpsites.net/web-design/make-custom-page-template/
    http://wpsites.net/tools/how-to-create-custom-page-templates-for-genesis-child-themes/


    Tutorials for StudioPress Themes.

    March 3, 2016 at 4:14 am #180515
    darkpollo
    Member

    Hi,
    Thanks, but that explains how to create a page template.
    I have it already, I want to add it to the theme without modifying the actual child theme I have, so I do not loose it when I update the theme in the future.

    I am working with this:
    https://codex.wordpress.org/Function_Reference/load_template

    But I am not sure which hook use to call that function.

    March 3, 2016 at 4:17 am #180516
    Brad Dalton
    Participant

    Child themes are not updated however you can use template_include


    Tutorials for StudioPress Themes.

    March 3, 2016 at 4:22 am #180517
    darkpollo
    Member

    Child themes are updated if you are using anyone of the studiopress themes...

    Thanks for the link! I think I will be able to finish it with that info.

    Have a nice day!

    March 3, 2016 at 8:26 am #180532
    Tom
    Participant

    Child themes are updated if you are using anyone of the studiopress themes...

    ... but there is no update notification and virtually no reason to update the child theme anyway. It seems like you're going through some bother for no practical purpose. <?>


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    March 3, 2016 at 9:20 am #180536
    Brad Dalton
    Participant

    Another option is to use a custom functionality plugin


    Tutorials for StudioPress Themes.

    March 3, 2016 at 9:26 am #180537
    darkpollo
    Member

    That is what I am using. I needed to code to use the template.

    Thanks

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