mirror of https://github.com/ulaulaman/eduinaf.git
Aggiunto codice precedentemente dimenticato
This commit is contained in:
parent
9653699c39
commit
e88256e4ae
|
@ -33,13 +33,14 @@ function grigliaspeciali($atts) {
|
||||||
extract(
|
extract(
|
||||||
shortcode_atts(
|
shortcode_atts(
|
||||||
array(
|
array(
|
||||||
'speciale' => 'null',
|
'speciale' => null,
|
||||||
|
'tipo' => null,
|
||||||
),
|
),
|
||||||
$atts
|
$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">';
|
$contentblu ='<div class="divTable paleBlueRows">';
|
||||||
|
|
||||||
if ( $q->have_posts() ) {
|
if ( $q->have_posts() ) {
|
||||||
|
|
Loading…
Reference in New Issue