Goinggreen Home Page

Community Forums Forums Design Tips and Tricks Goinggreen Home Page

This topic is: resolved

This topic contains 1 reply, has 1 voice, and was last updated by  katymartin 1 year ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36923

    katymartin
    Participant
    Post count: 20

    I’ve recently imported content from a different WP site into the Goinggreen theme.  One of the things I’ve also done is register a ‘Home Featured’ widget so I can add the Genesis Responsive Slider.

    Interestingly, the Home page shows a recent post below the slider even though I don’t have the “featured posts” widget activated on the Home Featured widget.

    What I’d like to do is remove that rogue post from appearing on the page and instead control the entire home page with the newly created ‘Home Featured” widget area.  For example, if I decide to include Featured Posts or Recent Posts, I want that control to come from the widget area and not wherever it’s pulling from now.  Make sense?

    If anyone can help me determine why the “Top 10 Reasons to Become  a Mentor” post is currently showing up on the Home Page, I’d sure appreciate the help.

    The site is currently living at: http://netstorepro.com/partners/

    http://netstorepro.com/partners/
    #36991

    katymartin
    Participant
    Post count: 20

    Played with it some more and believe to have solved my own problem.  For me… when I deleted the grid loop from Home.php:

    —————————-

    remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );
    add_action( ‘genesis_loop’, ‘goinggreen_grid_loop_helper’ );
    /** Add support for Genesis Grid Loop */
    function goinggreen_grid_loop_helper() {

    if ( function_exists( ‘genesis_grid_loop’ ) ) {
    genesis_grid_loop( array(
    ‘features’                 => 2,
    ‘feature_image_size’     => ‘featured’,
    ‘feature_image_class’     => ‘post-image’,
    ‘feature_content_limit’ => 0,
    ‘grid_image_size’        => 0,
    ‘grid_image_class’        => ‘alignnone’,
    ‘grid_content_limit’     => 250,
    ‘more’                    => __( ‘[Continue reading]‘, ‘goinggreen’ ),
    ‘posts_per_page’         => 6
    ) );
    } else {
    genesis_standard_loop();
    }

    }

    ————————–

    I needed to leave:    remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );

     

    Once I added that back into the Home.php file, everything worked like I had hoped.  The home page is now completely controlled by the “Home Featured Widget”

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Goinggreen Home Page’ is closed to new replies.