• 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

Home page template, 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 › Home page template, Sample theme

This topic is: resolved

Tagged: custom template, page layout, Sample Theme, sidebars

  • This topic has 1 reply, 1 voice, and was last updated 10 years ago by colkav.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 7, 2013 at 6:49 am #18639
    colkav
    Member

    Hi all,

     

    I want to create a layout a bit like this:

    http://www.cathkidston.co.uk/

    except I'd like some text to the left of the sidebar.

    I have it in my head that to do something like this, using the sample theme, I need to create a Page Template for the Home page.

     

    I've create a Page called Home.

    And I've created a template called front-page.php with the following code, based very partially,  on these instructions:

    http://www.artofblog.com/building-a-genesis-child-theme/

     

    <code>
    <!--?php /** (i've removed this bit) */

    // Remove Page Title remove_action( 'genesis_post_title', 'genesis_do_post_title' );

    // Content Area remove_action( 'genesis_loop', 'genesis_do_loop' ); add_action( 'genesis_loop', 'be_home_loop' );

    /** * Home Content Area * */

    genesis(); ?-->
    </code>

     

    All works fine.

    I then added a the sidebar by using this tutorial (the "Sidebar before posts" code):

    http://designsbynickthegeek.com/tutorials/add-widgeted-sidebar

    and adding the relevant code to functions.php.

    Now, at this point I'm asking myself, why do I need to use a custom page template?

    ...and the Home page, sidebar / genesis responsive slider works fine.

     

    And what i though i would be able to do at this point is go into the Dashboard->Pages and edit  / add text to the Home page.  But no, when I tried to do this, and hit publish it took me to a "Are you sure you want to do this?" notice... and no text shows on the Home page.

    How do I get the front-page.php to use the content on my Page called Home?  Is it something to do with adding divs in the front-page.php? (excuse my lack of knowledge, but if i was just pointed in the right direction...)

    Do i have to use a custom template on the home page to achieve what i want to do?

    And, apologies for all the questions, but, in the example:

    http://www.cathkidston.co.uk/

     

    See the second row?  The "daily Bags" etc... How would a WP developer typically go about putting these in a page?  I can understand they might style the elements in the stylesheet, but would the content, images etc be added in the WordPress Edit Page section?

    My URL is here:

    http://clienttest3.macsupportedlondon.co.uk/

    (the text box, which is in the right place, was / is currently achieved by adding a second sidebar, and text widget)

    Many thanks in advance for any insight!

    Colkav

     

     

     

    February 7, 2013 at 2:17 pm #18731
    colkav
    Member

    Marking this as resolved because I need to re-phrase this question..

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