• 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

Grid Loop – want a loop on one Blog listing page but not others

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 › Grid Loop – want a loop on one Blog listing page but not others

This topic is: resolved

Tagged: blog page with content, genesis grid, grid loop

  • This topic has 7 replies, 2 voices, and was last updated 12 years, 11 months ago by Brad Dalton.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • June 20, 2013 at 4:35 pm #46945
    csbeck
    Member

    I'm trying to implement the Genesis Grid Loop on a specific PAGE that is only showing POSTS in a given CATEGORY.
    http://grglaw.beckerstudio.com/our-professionals
    This page is using the page_blog.php - which shows the page content above the POSTS in this BLOG page - http://my.studiopress.com/snippets/blog-page-content/

    The content shows up and the POSTS show up as well. But this is also implemented on another page where I don't want the posts to be in a grid:
    http://grglaw.beckerstudio.com/rulings-and-decisions

    What's the best way of showing the Grid Loop for one page and set of data and not for another page and set of data?

    Do I need to create another template? If yes, I need some help with that.
    I've also tried Bill Ericson's "A better, and easier, grid loop" - http://www.billerickson.net/a-better-and-easier-grid-loop/
    But the results were not successful.

    Thanks for any help.

    http://grglaw.beckerstudio.com/our-professionals
    June 20, 2013 at 4:56 pm #46947
    Brad Dalton
    Participant

    Custom grid loop with conditional tag. You can use either a grid which may require some CSS tweaking or use the featured settings which is easier.

    Or there's a plugin


    Tutorials for StudioPress Themes.

    June 20, 2013 at 6:15 pm #46969
    csbeck
    Member

    Hi Brad,
    Thanks as always.
    Unfortunately it's not working - I'm sure it's user error.

    So I created a new template file called "page_feature_loop.php" and assigned it a template name of "Feature Loop Page".

    https://gist.github.com/csbeck/5827856

    I removed the page_blog.php template from the template directory.

    I assigned the page to that template.

    Going to the page now shows some of the content on the page but there's a link to "continue reading...". I'm not sure what's going on. I must have done something wrong.
    http://grglaw.beckerstudio.com/our-professionals

    Also, this page is still showing a grid.
    http://grglaw.beckerstudio.com/rulings-and-decisions

    Should Genesis Grid loop plugin be activated? I've tried the same pages with and without the plugin being activated.

    Please impart of your wisdom one more time. 😉

    June 20, 2013 at 6:40 pm #46977
    Brad Dalton
    Participant

    I think its mine because i tested it on the Agency theme and it worked perfectly for grids and featured without any CSS and then when i used the code again on another theme, i got the continue reading link only so i have missed something.

    I grabbed the code from the balance theme home.php file.


    Tutorials for StudioPress Themes.

    June 20, 2013 at 6:58 pm #46986
    csbeck
    Member

    Here's how I would like this one page to look.

    https://dl.dropboxusercontent.com/u/54563062/professionals_page01.jpg
    June 21, 2013 at 5:17 am #47009
    Brad Dalton
    Participant

    This is what that code does when pasted at the end of the home.php file before the closing genesis() tag. Tested it on a new installation of Agency theme. But yes, also had the same problem you got when using the code differently.

    https://www.dropbox.com/s/diqv4fa3npj4xox/csbec.png

    I know there are several tutorials from theme developers about how to create a custom author page grid but they are fairly complicated.

    http://www.wpbeginner.com/wp-themes/how-to-add-a-custom-author-profile-page-to-your-wordpress/

    http://wp.tutsplus.com/tutorials/how-to-create-a-wordpress-authors-page-template/

    http://justintadlock.com/archives/2008/06/09/doing-more-with-gravatars-authors-template-page

    There's a few more good ones as well.


    Tutorials for StudioPress Themes.

    June 24, 2013 at 4:13 pm #47560
    csbeck
    Member

    Thanks Brad, but I've been banging my head on this the whole day and nothing seems to work. I can't believe this can't be done more easily.

    So here's what I've done.

    I have the plugin - Advanced Custom Fields. I have these custom fields showing up now on the Post content page by using Genesis Simple Hooks and putting right after the Post Title. This Post shows how I pretty much want all of the professionals pages to look:
    http://grglaw.beckerstudio.com/professionals/karen-kane

    Now the only problem is I'd like the listing of the professionals to be on a grid while leaving all the other Blog and Archive pages alone. I thought I could just create a custom archive page, but I'm not succeeding with that either.
    Here's the listing page with the new template: http://grglaw.beckerstudio.com/professionals-listing-01
    Karen Kane's entry looks pretty good (the right info). The list isn't shown in a Grid.

    Here's the listing page but with a blog-page template that shows content at the top of the list: http://grglaw.beckerstudio.com/our-professionals
    None of these are correct and it looks like the page is not filtering for the category "professionals".

    Here's my code of the custom archive page:

    So I'd really like to get the archive list for just the Professionals to be a Grid and leave all other archives and Blog pages in their generic display.

    My fallback will be to layout the Professional's Listing Page as a grid in a page and hardcode the links and info. It won't be very good for the end client, but I'm at my wit's end.

    Any additional direction and help would be greatly appreciated.
    I'm even considering paying on this if necessary.

    Thanks, Chris

    June 24, 2013 at 9:47 pm #47615
    Brad Dalton
    Participant

    Try these.

    http://my.studiopress.com/tutorials/category-blog-page/

    http://my.studiopress.com/tutorials/genesis-grid-loop/

    http://www.briangardner.com/custom-archives-page/

    I'll try and test your code if i have time and see if i can help more


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 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

© 2026 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