'; foreach ( $event_star_social_data as $social_data ){ $icon = $social_data->icon; $link = $social_data->link; $checkbox = $social_data->checkbox; echo '
  • '; echo ''; echo ''; echo ''; echo '
  • '; } echo ''; } } endif; add_action( 'event_star_action_social_links', 'event_star_social_links', 10 ); if ( !function_exists('event_star_newsnotice') ) : function event_star_newsnotice( ) { global $event_star_customizer_all_values; $event_star_newsnotice_cat = $event_star_customizer_all_values['event-star-newsnotice-cat']; if( 0 != $event_star_newsnotice_cat ){ $recent_args = array( 'numberposts' => 5, 'post_status' => 'publish', 'category' => $event_star_newsnotice_cat ); $recent_posts = wp_get_recent_posts( $recent_args ); if ( !empty( $recent_posts ) ): if ( !empty( $event_star_customizer_all_values['event-star-newsnotice-title'] ) ){ $bn_title = $event_star_customizer_all_values['event-star-newsnotice-title']; } else{ $bn_title = esc_html__( 'Recent posts', 'event-star' ); } ?>
    " title="">
    "; wp_nav_menu( array( 'theme_location' => 'top-menu', 'container' => false, 'depth' => 1 ) ); echo ""; } endif; add_action( 'event_star_action_top_menu', 'event_star_action_top_menu', 10 );