mirror of
https://github.com/ulaulaman/eduinaf.git
synced 2025-06-06 00:49:14 +02:00
Corretto errore che produce doppio logo in caso di video Europlanet
This commit is contained in:
@@ -23,7 +23,7 @@ add_shortcode( 'sbdidattica', function () {
|
||||
$type = $type.'<a rel="tag" href="'.$term_link.'">'.$term->name.'</a>, ';
|
||||
} else {
|
||||
$type = $type.'<a rel="tag" href="'.$term_link.'">'.$term->name.'</a>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$auth = 'di ';
|
||||
@@ -161,10 +161,6 @@ add_shortcode( 'sbdidattica', function () {
|
||||
|
||||
$collaborazione = null;
|
||||
|
||||
if ( has_term( 'Europlanet', 'autore_didattico' ) ) {
|
||||
$ente = '<img src="https://edu.inaf.it/wp-content/uploads/2020/03/europlanet_banner-300x156.png" /></p>';
|
||||
}
|
||||
|
||||
$terms = get_the_terms ( $post->ID, 'collaborazioni' );
|
||||
$numcat = sizeof( $terms );
|
||||
$i = 0;
|
||||
|
||||
Reference in New Issue
Block a user