Featured Images not visible in frontpage blog grid

resolved (5 posts) (2 voices)

  1. keneastwood


    I'm using the blog grid shortcode to display posts and images on the front page of a draft site but the images don't show.


    They are visible on the blog page, at the top of each post and in the related posts module.



    Posted 3 years ago #
  2. Elliott

    Hello keneastwood,

    If you want to use the blog shortcode in the sidebar or in the outro then you'll need to remove the image preloader. Is that what you want to do?

    Posted 3 years ago #
  3. keneastwood


    I just want to show a three column (three post) blog grid on the homepage with thumbnails, excerpts and read more link.

    You can see current placement, in the Homepage Outro Text area. Have removed the featured images from those posts as they wouldn't display as thumbnails on the homepage (just displayed a rotating timer symbol).

    Really want the images to be visible on the homepage too.


    Posted 3 years ago #
  4. Elliott

    Open up /wp-content/themes/[your_theme]/lib/shortcodes/14-blog.php and change line 363 from this,

    $filter_args = array( 'width' => $width, 'height' => $height, 'img_class' => $img_class, 'link_class' => 'blog_sc_image_load', 'preload' => ( isset( $mysite->mobile ) ? false : true ), 'post_content' => $post_content, 'disable' => $disable, 'column' => $column, 'thumb' => $thumb, 'type' => $args['type'], 'shortcode' => true, 'echo' => false );

    To this,

    $filter_args = array( 'width' => $width, 'height' => $height, 'img_class' => $img_class, 'link_class' => 'blog_sc_image_load', 'preload' => false, 'post_content' => $post_content, 'disable' => $disable, 'column' => $column, 'thumb' => $thumb, 'type' => $args['type'], 'shortcode' => true, 'echo' => false );

    Posted 3 years ago #
  5. keneastwood

    Worked a treat! Many thanks.


    Posted 3 years ago #


You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme