So i created a new file new_category.php, uploaded to the server. But how can choose in back-end this specific template of category? Probably i’m going in the wrong direction 🙂
<?php
echo do_shortcode( '[thumbnailgrid cat="7" posts="20" type="post" order_by="date"]' );
get_template_part( 'content', get_post_format() );
endwhile;
// Previous/next page navigation.
twentyfourteen_paging_nav();
else :
// If no content, include the "No posts found" template.
get_template_part( 'content', 'none' );
endif;
?>
Did you get this working too? I had to do something similar recently so if you are still having problems let me know.
It’s work. It looks great.
<?php echo do_shortcode( '[thumbnailgrid height="150px" width="230px" cat="132" posts="99" type="post" order_by="author" ]' );
else :
// If no content, include the "No posts found" template.
get_template_part( 'content', 'none' );
endif;
;>