diff --git a/incl/grid.php b/incl/grid.php new file mode 100644 index 0000000..857b3a4 --- /dev/null +++ b/incl/grid.php @@ -0,0 +1,43 @@ + 'libri', + 'tageduinaf' => 'libri-per-bambini-e-ragazzi', + ), + $atts + ) + ); + + $q = new WP_Query( array( 'category_name' => $categoriaeduinaf, 'tag' => $tageduinaf, 'posts_per_page'=>-1 ) ); + $grid = ''; + + wp_reset_postdata(); + } else { + $grid = '

Nessun articolo trovato

'; + } + + return $grid; + + }