function speaker_social_html($post) { wp_nonce_field('_speaker_social_nonce', 'speaker_social_nonce'); ?> <p>Info sociales pour les conferenciers</p> <p> <label for="speaker_social_facebook"><?php _e('Facebook', 'speaker_social'); ?> </label><br> <input type="text" name="speaker_social_facebook" id="speaker_social_facebook" value="<?php echo speaker_social_get_meta('speaker_social_facebook'); ?> "> </p> <p> <label for="speaker_social_twitter"><?php _e('Twitter', 'speaker_social'); ?> </label><br> <input type="text" name="speaker_social_twitter" id="speaker_social_twitter" value="<?php echo speaker_social_get_meta('speaker_social_twitter'); ?> "> </p> <p> <label for="speaker_social_linkedin"><?php _e('LinkedIn', 'speaker_social'); ?> </label><br> <input type="text" name="speaker_social_linkedin" id="speaker_social_linkedin" value="<?php echo speaker_social_get_meta('speaker_social_linkedin'); ?> "> </p><?php }
<li> <a href="<?php echo speaker_social_get_meta('speaker_social_twitter'); ?> "><span class="ti-twitter-alt"></span></a> </li> <?php } ?> <?php if (speaker_social_get_meta('speaker_social_linkedin')) { ?> <li><a href="<?php echo speaker_social_get_meta('speaker_social_linkedin'); ?> "><span class="ti-linkedin"></span></a></li> <?php } ?> </ul> </div> <?php } } else { ?> <div class="col-md-4 col-sm-6 feature"> Pas encore de conférenciers