Grid Loop: What is it?

Community Forums Forums General Discussion Grid Loop: What is it?

This topic is: not resolved

Tagged: 

This topic contains 7 replies, has 2 voices, and was last updated by  cdils 1 year, 6 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #24265

    delectablychic
    Participant
    Post count: 25

    I’m reading about grid loops, but I don’t really understand what it is.  How is it different from a standard widgetized area on, say, the Lifestyle or Serenity themes?


    DelectablyChic!, an online lifestyle publication with a focus on style, dining, travel and more.

    #24990

    cdils
    Participant
    Post count: 421

    Hi there,

    The grid loop can be a mysterious beast when you first start to look into it. :)

    If you take a standard loop (say on a post archive page that lists the most recent posts), it’ll spit out a vertical list. The grid loop, by comparison, adds in some CSS classes. Instead of spitting out a vertical list, it’ll display posts in columns (of 2, 3, 4, whatever).

    Some StudioPress themes have the grid loop functionality built in (i.e. The Balance Theme) and others do not (i.e. Lifestyle).

    The grid loop doesn’t have anything to do with widget areas (though I can see how widget areas on a home page could sort of mimic the look of a grid loop).

    For themes that don’t have the grid loop built in, you can install Bill Erickson’s Genesis Grid plugin.

    If you really want to get your head swimming, here are some Bill Erickson posts you can walk through (in this order!) that set the stage for the grid loop:

    http://www.billerickson.net/code/column-classes/

    http://www.billerickson.net/code/use-the-built-in-post-counter/

    http://www.billerickson.net/customize-the-wordpress-query/

    http://www.billerickson.net/a-better-and-easier-grid-loop/

    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 host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    #25054

    delectablychic
    Participant
    Post count: 25

    Thanks!  Not that I understand all that coding!  What do you recommend?  Widgets or the grid loop?


    DelectablyChic!, an online lifestyle publication with a focus on style, dining, travel and more.

    #25357

    cdils
    Participant
    Post count: 421

    Eh, it really depends on what you’re wanting to accomplish. If you want the grid layout on the home page as well as your other archive pages, I’d go with the plugin!


    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 host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    #25561

    delectablychic
    Participant
    Post count: 25

    Also, I’m assuming it’s not possible to split grid loops?  For example, have three posts, then an ad, and then grid loops again (which you can with widgets)?


    DelectablyChic!, an online lifestyle publication with a focus on style, dining, travel and more.

    #25562

    cdils
    Participant
    Post count: 421

    You’re throwing some curve balls at me! ;)

    You couldn’t do that with the Grid Loop plugin, but you *could* if you wrote a custom loop. You’d probably be better with the widgets in that case, for the sake of ease.


    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 host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    #25565

    delectablychic
    Participant
    Post count: 25

    Here lies the problem.  There are elements I like about the Grid Loop and ones I like about the featured widget.  For example, I’m having a hard time editing appearances of the featured widget (see this post for what I’m looking to do) – the Grid Loop allows me to do this.  At the same time, I’d like to keep my layout relatively the same as what I have now (currently using featured widgets in Lifestyle).


    DelectablyChic!, an online lifestyle publication with a focus on style, dining, travel and more.

    #28339

    cdils
    Participant
    Post count: 421

    Ack! Sorry it’s taken me so long to respond. What a week!

    I’m going to pop over to your other thread and respond if you want to close this one!

    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 host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

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

You must be logged in to reply to this topic.