• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Get rid of or effectively disable grid loop?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Get rid of or effectively disable grid loop?

This topic is: not resolved

Tagged: grid loop

  • This topic has 2 replies, 3 voices, and was last updated 10 years ago by MM.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 2, 2013 at 7:46 pm #23839
    burridge
    Member

    Hi, total newbie here. I am building a basic blog using the Going Green theme, and I'm having some formatting issues that I suspect are being caused by the grid loop function, which I won't even pretend to understand. I don't really want my page to display the grid section of my homepage anyhow, and it seems like it would be easier if I could just kill the whole thing, or else somehow tell the system not to designate any posts for the grid loop. (I'm sure my language/terminology here is atrocious; like I said, I'm new to this.)

    For example, this (edited, by me) code is in my home.php file:

    'features' => 6,
    'feature_image_size' => 'featured',
    'feature_image_class' => 'post-image',
    'feature_content_limit' => 0,
    'grid
    'grid_image_size' => 'featured',
    'grid_image_class' => 'post-image',
    'grid_content_limit' => 0,
    'more' => __( '[Continue reading]', 'goinggreen' ),
    'posts_per_page' => 6

    The very top line tells it it how many featured posts to have; is there a way to do the same thing for posts designated as "grid"? Or is everything grid after the first 6 featured posts?

    March 3, 2013 at 11:24 am #23920
    David Chu
    Participant

    I just got the Going Green theme myself, and I love it!  I like the homepage scenario, but I know it's not for everyone.

    The key thing is what you mentioned, the home.php file.  Themes don't have to have that file; it's only used when you want to customize the homepage.  To quickly disable it, you could rename the file via FTP or other means, to something like savehome.php.  Then you'll notice that your homepage won't be using this code anymore, and you can decide if you like it that way.

    The result will depend on what you have set up to appear on your homepage, Posts or static page, etc., all of which can be set in:

    Settings.... Reading

    Then if you decide you want that special loop back, or truly want to keep editing and playing with that page,  you rename it back to home.php.

    Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

    March 12, 2013 at 4:45 pm #25739
    MM
    Member

    Hi Burridge and Flameno

    Good reading above. I had a question along these lines...

    Consistency across Home.php featured post displays and categories / page 2 etc

    If you can provide insights to fix that problem, that's great!

    Thks,

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble