1
0
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:
2020-10-21 00:56:09 +02:00
parent d73d1469d6
commit 373382b2f8

View File

@@ -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;