Blog Page disappeared after update

Community Forums Forums Design Tips and Tricks Blog Page disappeared after update

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  cdils 1 year, 1 month ago.

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

    Mindy_SD
    Participant
    Post count: 1

    I’m not sure if I’m posting this in the right area or not, so please point me in the right direction if this isn’t where I should be asking this :)

    I had set up a custom blog template page for my client on her website. We are using the Scribble child theme. Last night she updated wordpress and Genesis and the blog page stopped pulling her posts. I removed the page_blog.php file that I had installed and it is pulling her posts now, but it is not showing the grid of posts below her top posts like she wants.

    This is the code that I had in a page_blog.php file that I had uploaded directly to the child theme’s folder to get the grid on the blog page.

     

    <?php

    /**
    *
    * Template Name: Blog
    * This file handles blog post listings within a page.
    *
    * @package Genesis
    */

    remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );
    add_action( ‘genesis_loop’, ‘scribble_grid_loop_helper’ );
    /** Add support for Genesis Grid Loop */
    function scribble_grid_loop_helper() {
    if ( function_exists( ‘genesis_grid_loop’ ) ) {
    genesis_grid_loop( array(
    ‘features’ => 1,
    ‘feature_image_size’ => 0,
    ‘feature_image_class’ => ‘alignleft post-image’,
    ‘feature_content_limit’ => 0,
    ‘grid_image_size’ => ‘grid-thumbnail’,
    ‘grid_image_class’ => ‘gridpicture’,
    ‘grid_content_limit’ => 0,
    ‘more’ => __( ‘[Continue reading...]‘, ‘genesis’ ),
    ‘posts_per_page’ => 6,
    ) );
    } else {
    genesis_standard_loop();
    }
    }

    genesis();

     

    Does anyone know why this was working before the update, but now it’s not?

    Thanks!

    #30785

    cdils
    Participant
    Post count: 415

    Hi there,
    Were you updating to Genesis 1.9.1? There were some known issues with the grid loop that might be the cause of your problem!

    You may want to read some solutions posted in the forums here: http://www.studiopress.com/forums/?s=grid+loop+genesis+1.9

    OR, Bill Erickson wrote a Genesis Grid Loop plugin that’s really easy to use and doesn’t require custom coding. :)

    Let me know if that gets you pointed in the right direction!

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I tweet @cdils.

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

You must be logged in to reply to this topic.