diff --git a/functions.php b/functions.php index be4c7a5..45fbdd7 100644 --- a/functions.php +++ b/functions.php @@ -62,6 +62,7 @@ class Artist_Widget extends WP_Widget { if ( $studart->have_posts() ) { while ( $studart->have_posts() ) { $studart->the_post(); + // event-lenka $event = get_post_meta($post->ID, 'studio_artist_event', true) != ""; // ekstern lenke for artisten @@ -69,6 +70,7 @@ class Artist_Widget extends WP_Widget { $link = ' ekst'; else $link = ""; echo '

' . get_the_title() . ''.$link.'

'; + } } echo $args['after_widget']; }