Closed Priya-Goenka closed 4 years ago
if you want other social media for organizer then use below code.
add_action( 'single_event_listing_organizer_single_social_end', 'wpem_organizer_social_media' );
function wpem_organizer_social_media($organizer_id)
{
$organizer_linkedin = get_post_meta($organizer_id, '_organizer_linkedin', true);
if (!empty($organizer_linkedin))
{
?>
<div class="wpem-social-icon wpem-linkedin">
<a href="<?php echo esc_url($organizer_linkedin); ?>" target="_blank" title="Get Connect on linkedin"><?php _e('Linkedin', 'wp-event-manager'); ?></a>
</div>
<?php }
}
We already provide this code.
Add linkedin, Instagram, and other social media links. Make it customizable if anyone wants to add more in future.