'html', 'size' => genesis_get_option( 'image_size' ), 'attr' => array( 'class' => 'alignleft post-image' ) ) ); printf( '%s', get_permalink(), the_title_attribute( 'echo=0' ), $img ); } } function cooking_tips_archives() { query_posts( array ( 'category_name' => 'cooking-tips', 'posts_per_page' => '-1' ) ); if (have_posts()) : $i=0; // counter while (have_posts()) : the_post(); ?>