• 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

Altitude Pro front-page template copy

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 › Altitude Pro front-page template copy

This topic is: not resolved

Tagged: Altitude Pro, front page, template

  • This topic has 3 replies, 4 voices, and was last updated 7 years, 8 months ago by [email protected].
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 14, 2015 at 10:30 am #159394
    iff
    Member

    Hi everyone,

    I would like to know whats the most proper way to "copy" the front-page from altitude pro theme
    and use it also for other pages in this theme? Are there any reasons not to do this? I know a lot abut css and html but not php/genesis.

    I almost did it but was not able to put some new background images in there.

    I did it like this (dont know if its correct with id's etc.):

    1) Copy the front page in a new php file and gave a new name (new_template).
    2) changed the number of the widgets 1 to 8, 2 to 9 on the new_template and also added the genesis_register_sidebar with the front-page 8-14 in functions.php (works good I think..!?)
    3) Tried to add somehow the backgrounds 9,11,13,15 images in output.php (altitude_images', array( '1', '3', '5', '7', '9', '11', '13', '15' )..

    Unfortunately the background images will not show up (but the upload masks are there, were you can upload the background pictures.)

    It would be really nice, if someone has an idea how he/she would do this. As I said, I have no idea about php and genesis.

    Thank you very much for every help or some code snippets of a possible template!

    Best Regards
    Chris

    July 14, 2015 at 3:37 pm #159415
    cubicle10
    Member

    Looking to accomplish the same thing.


    E.J.
    Cubicle10

    August 16, 2015 at 11:06 pm #162583
    lorilin
    Member

    I would also love to be able to do this. Once you've done it one time, then you'd be able to create as many pages as you want, I would think.

    If either of you find a way to do it, please share. I will do the same 🙂

    Cheers,
    Lori

    September 3, 2015 at 10:58 pm #164526
    [email protected]
    Member

    Ok so my work around is to just call it out in CSS. I set it up a little different that @iff but the overall principles are the same. I know not as easy as using the customizer but because I gave the new widget areas unique classes it's pretty simple CSS.

    For example with the front-page.php template, the widgets looked for .front-page-1, .front-page-2, .front-page-3, etc. So my new template was looking for .name-page-1, .name-page-2, .name-page-3, etc. I went into the style file did a find/search for "front" copied that CSS and pasted below renaming "front" with name. -That part was kinda tedious but all the new templates now matched the same style as the front-page template.

    Then I added separate CSS for each new widget:

    .name-page-1 {
    background-image: url("#");
    }

    Probably not a solution for building out multiple pages but if you need just one more "homepage" it'll do.

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