This repository has been archived on 2024-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
2021-01-04 12:00:40 +01:00
|
|
|
<?php $flags = get_the_terms($post->ID, 'flag');
|
|
|
|
if ($flags) {
|
|
|
|
foreach( $flags as $flag ) {
|
|
|
|
$term_meta = get_option( "taxonomy_term_$flag->term_id" );
|
2023-05-20 10:02:10 +02:00
|
|
|
echo "<div class='toast bg-" . $term_meta['niveau'] . "'>";
|
2021-01-04 12:00:40 +01:00
|
|
|
echo $flag->description;
|
|
|
|
echo "</div>";
|
|
|
|
}
|
|
|
|
} ?>
|