• 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

Remove blog entries from home page of Going Green Pro

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 › Remove blog entries from home page of Going Green Pro

This topic is: not resolved

Tagged: blog, going green pro, remove

  • This topic has 7 replies, 5 voices, and was last updated 9 years ago by dreamdancer.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • November 10, 2013 at 10:14 pm #72247
    AliKK
    Member

    Hi there,

    There's probably a better way to do this, but, for now, I'm interested in removing the blog from the home page.

    Site is here:

    http://lunabeannation.com/4eyoga/

    I know I could just assign a different page, but I'm not sure how I would make the picture take up the entire space without affecting other pages...so I think this is the easiest solution. Maybe.

    http://lunabeannation.com/4eyoga/
    November 10, 2013 at 11:54 pm #72262
    nutsandbolts
    Member

    You could create a home.php to use a widgetized homepage instead of showing posts. There are a number of tutorials out there, or you could grab a home.php from another child theme and customize it.

    The site is gorgeous, by the way! I love the way it looks.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    November 11, 2013 at 8:55 am #72305
    Anita
    Keymaster

    Try Brad Dalton's tutorial here on Removing Posts from Displaying on the Home Page.


    Love coffee, chocolate and my Bella!

    November 21, 2013 at 10:05 pm #74859
    AliKK
    Member

    Thanks so much for the replies. My issue is primarily that there is no home.php file to edit. I have functions, landing-page, and the css. I don't know if this is a new thing with the Going Green Pro...BUT, in the past I've just been able to edit home.php (as suggested in the blog post). Now I'm at a loss. Thanks!

    February 19, 2014 at 6:57 pm #91303
    dreamdancer
    Participant

    I am working on a widget home page for Going Green Pro as well. I took a copy of front-page.php (instead of home.php) from Lifestyle Pro, it works, I registered the widget areas in the functions file and my widgets are showing up.

    However I get into problems if I try to rename the child theme info in the page.

    such as - add_action( 'genesis_meta', 'going-green_home_genesis_meta' );
    /**
    * Add widget support for homepage. If no widgets active, display the default loop.
    *
    */

    function going_green_home_genesis_meta() {

    if ( is_active_sidebar( 'home-top' ) || is_active_sidebar( 'home-middle' ) || is_active_sidebar( 'home-bottom-left' ) || is_active_sidebar( 'home-bottom-right' ) ) {

    // Force content-sidebar layout setting
    add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_content_sidebar' );

    // Add going-green-pro-home body class
    add_filter( 'body_class', 'going-green_body_class' );

    // Remove the default Genesis loop
    remove_action( 'genesis_loop', 'genesis_do_loop' );

    // Add homepage widgets
    add_action( 'genesis_loop', 'going-green_homepage_widgets' );

    }
    }

    I get this error -
    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'going-green_home_genesis_meta' was given in /home/content/68/8481068/html/karson/wp-includes/plugin.php on line 429

    I have tried it many, many ways and unless I have lifestyle instead of going-green, there is an error code and the widgets disappear. There must be some way to name this to match the theme, but I can't figure out what I am doing wrong. Would love some help.

    March 25, 2014 at 7:33 pm #96667
    Helen
    Member

    Hi dreamdancer, Did you get this to work, I am trying to do the same thing. Actually, first I used a static page as the Home page and tried using column classes, but for a few reasons much rather have widgets on the Home page, so I'm trying for the second time to do this, and running into same problem you are having.

    March 25, 2014 at 7:40 pm #96669
    dreamdancer
    Participant
    This reply has been marked as private.
    March 26, 2014 at 5:00 pm #96849
    dreamdancer
    Participant

    Hi Helen, I thought I could send a private message, but this board doesn't do that. Here is a link to download my two custom files. https://files.secureserver.net/0sMQ2qknUJeuIg

    There is the front-page.php with a few widget spots, and the functions.php that registers the sidebars.
    here is some home page CSS also:

    /* Home*/
    .home-middle .featuredpost img {
    margin-bottom: 0;
    margin-right: 20px;
    margin-right: 2rem;
    }

    .home-bottom-left,
    .home-bottom-right {
    width: 332px;
    }

    .home-bottom-left {
    float: left;
    }

    .home-bottom-right {
    float: right;
    }

    h2,
    .home-top .entry-title {
    font-size: 24px;
    font-size: 2.4rem;
    font-family: 'Lora', serif;
    margin-left: 15px;
    margin-right: 15px;
    }

    .home .entry-content {
    margin-left: 15px;
    margin-right: 15px;
    }


    @media
    only screen and (max-width: 1268px)
    .footer-widgets-1,
    .footer-widgets-2,
    .footer-widgets-3, .home-bottom-left,
    .home-bottom-right,
    .sidebar-primary {
    width: 260px;
    }


    @media
    only screen and (max-width: 1023px)
    .home-bottom-left,
    .home-bottom-right {
    width: 332px;
    }


    @media
    only screen and (max-width: 834px)
    .home-bottom-left,
    .home-bottom-right,
    .five-sixths,
    .four-sixths,
    .one-fourth,
    .one-half,
    .one-sixth,
    .one-third,
    .three-fourths,
    .three-sixths,
    .two-fourths,
    .two-sixths,
    .two-thirds {
    margin: 0;
    width: 100%;
    }

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

© 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