Aggiunto codice momentaneamente escluso da astrodidattica

This commit is contained in:
ulaulaman 2021-05-13 11:55:09 +02:00
parent 912fed7e71
commit 6883c85151
1 changed files with 30 additions and 0 deletions

View File

@ -1,3 +1,33 @@
/* Momentaneamente escluso */
$auth = null;
$custom = get_post_custom();
foreach( $custom as $key => $value ) {
$key_name = get_post_custom_values( $key = 'autore_attivita' );
if ( $key_name[0] <> null ) {
$auth1 = '<strong>'.$key_name[0].'</strong>';
} else {
$auth1 = null;
}
if ( $key_name[1] <> null ) {
$auth2 = ', <strong>'.$key_name[1].'</strong>';
} else {
$auth2 = null;
}
if ( $key_name[2] <> null ) {
$auth3 = ', <strong>'.$key_name[2].'</strong>';
} else {
$auth3 = null;
}
if ( $key_name[3] <> null ) {
$auth4 = ', <strong>'.$key_name[3].'</strong>';
} else {
$auth4 = null;
}
$auth = $auth1.$auth2.$auth3.$auth4;
}
/* Non più utilizzato */
# inclusione di grid.css