Aggiunto codice precedentemente dimenticato

This commit is contained in:
ulaulaman 2021-04-10 17:36:35 +02:00
parent 9653699c39
commit e88256e4ae
1 changed files with 3 additions and 2 deletions

View File

@ -33,13 +33,14 @@ function grigliaspeciali($atts) {
extract(
shortcode_atts(
array(
'speciale' => 'null',
'speciale' => null,
'tipo' => null,
),
$atts
)
);
$q = new WP_Query( array( 'speciali' => $speciale, 'post_type'=> 'post', 'posts_per_page'=>-1 ) );
$q = new WP_Query( array( 'speciali' => $speciale, 'post_type'=> $tipo, 'posts_per_page'=>-1 ) );
$contentblu ='<div class="divTable paleBlueRows">';
if ( $q->have_posts() ) {