1
0
mirror of https://github.com/ulaulaman/eduinaf.git synced 2025-03-05 06:47:56 +01:00

Corretto errore di codice

This commit is contained in:
ulaulaman 2020-10-01 01:28:20 +02:00
parent 16c89711c0
commit cdc323a1f5

View File

@ -169,7 +169,7 @@ add_shortcode( 'sbdidattica', function () {
$numcat = sizeof( $terms );
$i = 0;
foreach ( $terms as $term ) {
$term_link = get_term_link( $term, 'parole_chiave' );
$term_link = get_term_link( $term, 'collaborazioni' );
$i++;
if ( $i < $numcat ) {
$ente = $ente.'<a rel="tag" href="'.$term_link.'"><img src="https://edu.inaf.it/wp-content/plugins/eduinaf/images/coll/"'.$term->slug.'.png" width="90%" /></a><br/>';