Cherry Posts_Grid : Offset Rows Pulled?

I’m using a theme with Cherry Posts_Grid and the theme uses different classes so calls the posts_grid shortcode repeatedly. To make the page show the most recent 8 posts in proper order, the person declared tags on the posts from “first” to “eighth”.

I had hoped posts_grid automatically went to the next row on its own. Such as…

[span3]
[lazy_load_box effect=“slidefromleft” speed=“900” delay=“200”]
[posts_grid
columns=“1” rows=“1” order_by=“date” order=“DESC” thumb_width=“270”
thumb_height=“195” meta=“yes” excerpt_count=“15” link=“yes”
link_text=“Read more” custom_class=“post_type_1”]
[/lazy_load_box]
[/span3]
[span6]
[lazy_load_box effect=“slidefromright” speed=“900” delay=“200”]
[posts_grid
columns=“1” rows=“1” order_by=“date” order=“DESC” thumb_width=“570”
thumb_height=“390” meta=“yes” excerpt_count=“35” link=“yes”
link_text=“Read more” custom_class=“post_type_2”]
[/lazy_load_box]
[/span6]

So i have two different formats of Post Grid side by side. But this grabs the last Post, twice. Doesn’t posts_grid has a way to offset to the next row, realizing the first row has already been pulled?

All feedback appreciated.
Ryan

Okay,

I talked to Cherry Framework and they said not possible without either tags or categories to help.

But I did figure out a way after all. I edited the child theme custom-functions.php, where you can find the ‘posts_grid_shortcode’ function. Just add ‘offset’ as another variable to listen for, and apply $offset to ‘offset’ for the get_posts portion of the function.

Then just add offset=“1” or whatever in the shortcode and it will grab the next row. Solution for my home page grid issue.

Cheers!
Ryan

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.