• 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

eskape

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • September 2, 2013 at 5:04 pm in reply to: Register Widget area on all pages? #60319
    eskape
    Member

    Fixed it! When I registered the widget area I used
    if ( ! is_home() )
    return;

    I just deleted it and it shows up on every page. Rookie Mistake!

    September 2, 2013 at 2:50 pm in reply to: Register Widget area on all pages? #60297
    eskape
    Member

    Thanks for your response but I'm looking for a way to do it without the use of a plugin. I know it can be coded I'm just not sure what I'm doing wrong.

    August 21, 2013 at 4:06 pm in reply to: Resize featured page thumbnails on custom theme #58041
    eskape
    Member

    Wow, I feel so stupid right now. I figured out how to fix the problem. Sometimes you get so caught up in coding, that you forget that there is built in options to do certain things. I fixed the problem by going to settings >> media and changing the thumbnail size. Then I used the regenerate thumbnail plugin.

    August 21, 2013 at 3:30 pm in reply to: Resize featured page thumbnails on custom theme #58023
    eskape
    Member

    I forgot to add my website to the post so here is the link http://genesistest.cinevallarta.com/

    August 21, 2013 at 11:56 am in reply to: Home Page Layout Problem #57972
    eskape
    Member

    I fixed it!!!!! Mary you were right but I needed one extra line of code. I'll explain what I did so if anyone else has the same problem they can fix it.

    in my child theme's functions.php file I registered the widget areas and created the add_action function using the code below so they would show up on certain hooks on the homepage.

    //* Slider Widget Area
    genesis_register_sidebar( array(
    ‘id’ => ‘slider-widget-area’,
    ‘name’ => ‘Slider Widget Area’,
    ‘description’ => ‘This is the homepage slider widget area.’,
    ) );

    add_action( ‘genesis_before_content’, ‘slider_widget_area_sidebar’ );
    /** Loads a new sidebar after the content */
    function slider_widget_area_sidebar() {
    if ( ! is_home() )
    return;
    echo ‘<div class=”slider-widget-area”>’;
    dynamic_sidebar( ‘slider-widget-area’ );
    echo ‘</div>’;

    }

    //* Featured Post Widget Area
    genesis_register_sidebar( array(
    ‘id’ => ‘featured-post-widget-area’,
    ‘name’ => ‘Featured Post Widget Area’,
    ‘description’ => ‘This is the homepage featured post widget area.’,
    ) );

    add_action( ‘genesis_before_content’, ‘featured_post_widget_area_sidebar’ );
    /** Loads a new sidebar after the content */
    function featured_post_widget_area_sidebar() {
    if ( ! is_home() )
    return;
    echo ‘<div class=”featured-post-widget-area”>’;
    dynamic_sidebar( ‘featured-post-widget-area’ );
    echo ‘</div>’;
    }

    Next I created a home.php file in my child theme because my child theme didn't come with one. I took Mary's advice and added the remove_action code but I needed an extra line of code to bring the rest of the site back. This is the code I added to the home.php file.

    <?php

    remove_action( 'genesis_loop', 'genesis_do_loop' );

    genesis();

    the code Mary left out was "genesis();"

    Thanks Mary! I hope this can help someone else too.

    August 21, 2013 at 11:24 am in reply to: Home Page Layout Problem #57965
    eskape
    Member

    Hi Mary thanks for your response. I never made any changes to the framework files. When I bought genesis it came with a simple child theme called "genesis-sample". It only had a functions.php file and style.css file. I added the code above to functions.php file in the childe theme.

    My child theme didn't come with a home.php file so I created one and added the remove_action code but it didn't work. The only thing that happened was the homepage was completely white and no content. Yesterday I added that remove_action code to my functions.php file and it got rid of the recent posts at the bottom of the page but it also left the rest of my pages / posts blank.

    Any ideas?

    August 21, 2013 at 9:35 am in reply to: Home Page Layout Problem #57940
    eskape
    Member

    I'm sorry maybe I didn't say it but I am using a child theme. I added that code to the functions.php file in the child theme. I think I might have to remove the loop or modify it. Do you have any suggestions on how I can remove the recent posts from th bottom of the home page?

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 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