mirror of
https://github.com/ulaulaman/eduinaf.git
synced 2025-03-01 02:27:38 +01:00
Ripristino versione precedente del codice
This commit is contained in:
parent
38d988cc99
commit
c802029f05
@ -216,11 +216,5 @@ add_shortcode( 'sbdidattica', function () {
|
|||||||
|
|
||||||
$outnew = $outnew.$licenza;
|
$outnew = $outnew.$licenza;
|
||||||
|
|
||||||
if ( get_post_type() == 'astrodidattica' ) {
|
|
||||||
$out = $outnew;
|
|
||||||
} else {
|
|
||||||
$out = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $outnew;
|
return $outnew;
|
||||||
} );
|
} );
|
||||||
|
@ -20,11 +20,7 @@ add_shortcode( 'sbastrofoto', function () {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( get_post_type() == 'astrofoto' ) {
|
$out = $img.$auth;
|
||||||
$out = $out = $img.$auth;;
|
|
||||||
} else {
|
|
||||||
$out = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $out;
|
return $out;
|
||||||
} );
|
} );
|
||||||
|
@ -67,11 +67,7 @@ add_shortcode( 'sbcostellazioni', function () {
|
|||||||
|
|
||||||
$visibile = '<p><strong>Visibile in</strong>: '.$type.'</p><p>'.$season.'</p>';
|
$visibile = '<p><strong>Visibile in</strong>: '.$type.'</p><p>'.$season.'</p>';
|
||||||
|
|
||||||
if ( get_post_type() == 'costellazioni' ) {
|
|
||||||
$out = $map.$field1.$field2.$visibile;
|
$out = $map.$field1.$field2.$visibile;
|
||||||
} else {
|
|
||||||
$out = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $out;
|
return $out;
|
||||||
} );
|
} );
|
Loading…
x
Reference in New Issue
Block a user