Remove Posts from Homepage

Community Forums Forums Design Tips and Tricks Remove Posts from Homepage

This topic is: not resolved

This topic contains 8 replies, has 5 voices, and was last updated by  Marco 1 year, 4 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #36382

    zackthegreek
    Participant
    Post count: 1

    I am using the minimum child theme and I want to keep posts from displaying at the bottom of the homepage.  Anyone know how to do this?  Thanks for your time!

     

     

    http://www.tronelectric.com
    #36389

    zuperigo
    Participant
    Post count: 2

    wp>dashboard>genesis>theme settings and go to comments and edit …

    #36572

    zackthegreek
    Participant
    Post count: 1

    That did not help

    #36582

    Anita
    Participant
    Post count: 7579

    Open up your Home.php file, look for this and delete it:

    [php]add_action( ‘genesis_loop’, ‘minimum_grid_loop_helper’ );
    function minimum_grid_loop_helper() {

    if ( function_exists( ‘genesis_grid_loop’ ) ) {
    genesis_grid_loop( array(
    ‘features’ => 0,
    ‘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’ => __( ‘[Read more]‘, ‘minimum’ ),
    ) );
    } else {
    genesis_standard_loop();
    }

    }[/php]


    When asking for help, please provide a link or screen shot showing your problem!
    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me!

    #39161

    Mike P
    Participant
    Post count: 11

    I had the same question. Removed the above code and it took care of the loop feature, however I still have posts appearing.

    http://www.impactcollaborative.org/dc01/

    Thoughts?

     

     

    #39165

    Anita
    Participant
    Post count: 7579

    Did you remove the code including the standard loop?


    When asking for help, please provide a link or screen shot showing your problem!
    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me!

    #39209

    Mike P
    Participant
    Post count: 11

    I did indeed remove the standard loop part, along with everything else in the above code.  Ideally, I’d like to replace the grid/loop section down there with a widget area. But will aim for removing the posts for now.

    #39214

    Mike P
    Participant
    Post count: 11

    Looks like I could add this to the stylesheet:

    .home #inner {
    displaynone;
    }

    but this pretty much limits my ability to add anything else there, right?

     

    #39272

    Marco
    Participant
    Post count: 63

    Hello,
    just place 2 // before the `add_action( ‘genesis_loop’, ‘minimum_grid_loop_helper’ );`

    like` //add_action( ‘genesis_loop’, ‘minimum_grid_loop_helper’ );`

    You don’t have to remove the `remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );`.

    If you need to remove the sidebar, just add this before the genesis();

    `remove_action( ‘genesis_after_content’, ‘genesis_get_sidebar’ );`

    genesis();


    • This reply was modified 1 year, 4 months ago by  Marco.
    • This reply was modified 1 year, 4 months ago by  Marco.
Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.