mirror of
https://github.com/ulaulaman/eduinaf.git
synced 2024-12-16 17:08:37 +01:00
Modificato errore nel percorso immagini
This commit is contained in:
parent
bf2eeb49ee
commit
390acba93b
@ -4,12 +4,12 @@
|
||||
#
|
||||
add_shortcode( 'sbdidattica', function () {
|
||||
|
||||
$img = '<div align="center"><img src="https://edu.inaf.it/wp-content/plugins/eduinaf/images/dida/avatar_eduinaf_blu.png" width="40%" /></div>';
|
||||
$img = '<div align="center"><img src="https://edu.inaf.it/wp-content/plugins/eduinaf/images/avatar_eduinaf_blu.png" width="40%" /></div>';
|
||||
$terms = get_the_terms( $post->ID, 'livello_educativo' );
|
||||
$numcat = sizeof( $terms );
|
||||
foreach ( $terms as $term ) {
|
||||
$term_link = get_term_link( $term, 'livello_educativo' );
|
||||
$img = $img.'<a rel="tag" href="'.$term_link.'" title="Vedi tutte le attività del livello: '.$term->name.'"><img src="https://edu.inaf.it/wp-content/plugins/eduinaf/images/'.$term->slug.'.png" width="25%" /></a>';
|
||||
$img = $img.'<a rel="tag" href="'.$term_link.'" title="Vedi tutte le attività del livello: '.$term->name.'"><img src="https://edu.inaf.it/wp-content/plugins/eduinaf/images/dida/'.$term->slug.'.png" width="25%" /></a>';
|
||||
}
|
||||
|
||||
$type = null;
|
||||
|
Loading…
Reference in New Issue
Block a user