• 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

Create Separate code Page for each page in 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 › General Discussion › Create Separate code Page for each page in child theme?

This topic is: not resolved
  • This topic has 2 replies, 3 voices, and was last updated 9 years, 4 months ago by Brad Dalton.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 23, 2017 at 1:26 pm #203738
    JHRS
    Member

    I understand that front-page.php can be used to control the content for the homepage of a genesis child theme, but what about other pages? I'd like to have my "about" "content" etc.. pages all separated in individual files as well. Is there a way that I can do this?

    Sometimes I don't want each page to have the same widgets in the same spots and therefore would like to code layout in a file other than functions.php.

    March 23, 2017 at 1:46 pm #203740
    Victor Font
    Moderator

    front-page.php is the only widgetized page. All other pages are created in the WordPress page editor. WordPress does not create separate files for each page. Page content is stored in the database and generated at run time as HTML. The standard template for a page is called default.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    March 23, 2017 at 4:30 pm #203749
    Brad Dalton
    Participant

    You can create page templates and add a page header which looks something like the page_landing.php file included in most child themes.

    Or

    Create different files using the page i.d or slug

    Example: page-contact.php where contact is the name of the slug for your contact page.

    Use the WordPress Template Hierarchy to name each file.


    Tutorials for StudioPress Themes.

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