I changed the home template to have my own template displayng a gallery with a specific set of photoes. I want to change the custom loop to show instead 10 posts, all posts. I tried to eliminate the line about the pagination but i don’t know ho to rewrite the loop like for each…
// Add custom loop
add_action(‘genesis_loop’, ‘portfolio_loop’);
function portfolio_loop() {
$include=’stemmicomuni’;
$paged = get_query_var(‘paged’) ? get_query_var(‘paged’) : 1;
$args = array(‘post_type’ => $include, ‘order’=> ‘ASC’,’paged’=> $paged);
genesis_custom_loop( $args );
}
tnx a lot. Carletto
genesis();