How to remove the "Sorry, no posts matched your criteria."

Community Forums Forums Design Tips and Tricks How to remove the "Sorry, no posts matched your criteria."

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  SoZo 1 year, 10 months ago.

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

    danwin
    Participant

    Hi,

    I’am using the Minimum Theme, which looks awesome. But somehow I can’t find out how to remove the

    “Sorry, no posts matched your criteria” on my home. Since I won’t be using it as a blog, I do not neet posts on there. But neither do I need this line.  I found a similar question on here but it was for another theme.

    Also I can’t remove the sidebar widget on the right side. Now you can’t see anything but only because I did it via workaround adding a plain text widget.

    It would be really interesting to know how to solve these problems.

    Thankful for any help!

    Regards

    Daniel

    P.S. The domain is http://www.brandvoll.de

     

    #17126

    SoZo
    Moderator
    Post count: 1573

    Delete this from home.php
    [php][/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]


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

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

You must be logged in to reply to this topic.