Community Forums › Forums › Design Tips and Tricks › Help Me. I'm lost. I do not understand the grid loop.
Tagged: customizing grid loop, grid loop
This topic contains 4 replies, has 2 voices, and was last updated by wyatt121 6 months, 1 week ago.
-
AuthorPosts
-
December 8, 2012 at 4:29 pm #3888
Hi,
I have genesis framework installed. I’m using a child theme. I’m attempting to use the gird loop, but I just don’t get it. I have read many online tutorials, but I just don’t understand how to accomplish what I want to accomplish.
All I want to do is print out the loop but customize each element as it is echoed out to the screen, and only display the elements I wish to choose. I need the title, description, date, category, tags, and 2 custom fields.
I understand the wordpress loop. It is very straight forward.
http://codex.wordpress.org/The_Loop
Yet, how do I get what I want with the grid loop code below? I don’t even see known variables like ” title, description, date, category, tag” being echoed in the code below.. I think this grid loop just complicates things, how does this grid loop make me life easier?
Any help is much appreciated. I’m lost.
Regards,
Wyatt
function child_grid_loop_helper() {
if ( function_exists( ‘genesis_grid_loop’ ) ) {
genesis_grid_loop(
array(
‘features’ => 2,
‘feature_image_size’ => 0,
‘feature_image_class’ => ‘alignleft post-image’,
‘feature_content_limit’ => 0,
‘grid_image_size’ => ‘grid-thumbnail’,
‘grid_image_class’ => ‘alignleft post-image’,
‘grid_content_limit’ => 0,
‘more’ => __( ‘[Continue reading...]‘, ‘genesis’ ),
‘posts_per_page’ => 6,
‘cat’ => ’13,14′ //enter your category IDs here separated by commas in ‘ ‘
) );
} else {
genesis_standard_loop();
}
}December 8, 2012 at 5:08 pm #3895There are several write ups on Google. In Google Search – search for Genesis Grid Loop and you will see them.
Need customization services or other help? Visit me here: Cre8tiveDiva.com | Twitter: @thecre8tivediva
Why Not Take The Challenge! – Help us answer some of the unanswered postsDecember 8, 2012 at 6:12 pm #3909Hi,
I know how to use google. Do not know how to use this loop to display custom fields.
Wyatt
December 8, 2012 at 7:24 pm #3925Well, if you read what I sent you from the search results you may find your answer. Good luck to you.
Need customization services or other help? Visit me here: Cre8tiveDiva.com | Twitter: @thecre8tivediva
Why Not Take The Challenge! – Help us answer some of the unanswered postsDecember 8, 2012 at 7:53 pm #3930There are plenty of grid loop tutorials, but none on using custom variables.
Wyatt
-
AuthorPosts
You must be logged in to reply to this topic.