<div class="col-9 pl-none"> <a href="http://www.facebook.com/<?php echo $fb_data['id']; ?> " target="_blank" rel="nofollow"> <span class="title"><?php echo $fb_data['name']; ?> </span> </a> <br> <div> <?php $opt = get_option('wpemfb_show_like'); if ($opt === 'true') { echo WEF_Social_Plugins::like_btn('https://www.facebook.com/' . $fb_data['id'], array('share' => 'true', 'layout' => 'button_count')); } else { printf(__('%d people like this.', 'wp-embed-facebook'), $fb_data['likes']); } ?> </div> <?php if (isset($fb_data["website"])) { ?> <br> <a href="<?php echo WP_Embed_FB::getwebsite($fb_data["website"]); ?> " title="<?php _e('Web Site', 'wp-embed-facebook'); ?>
<div class="wef-measure" style="max-width: <?php echo $width; ?> px;"></div> <?php switch ($type) { case 'page': echo WEF_Social_Plugins::page_plugin('https://www.facebook.com/' . $fb_data['link'], $width); break; case 'video': if (get_option('wpemfb_video_as_post', 'false') == 'true') { echo WEF_Social_Plugins::embedded_post('https://www.facebook.com/' . $fb_data['link'], $width); } else { echo WEF_Social_Plugins::embedded_video('https://www.facebook.com/' . $fb_data['link'], $width); } break; //case 'photo' : //case 'post' : //case 'photo' : //case 'post' : default: echo WEF_Social_Plugins::embedded_post('https://www.facebook.com/' . $fb_data['link'], $width); break; }
<img src="http://graph.facebook.com/<?php echo $fb_data['id']; ?> /picture" /> </a> </div> <div class="col-9 pl-none"> <p> <a href="http://www.facebook.com/<?php echo $fb_data['id']; ?> " target="_blank" rel="nofollow"> <span class="title"><?php echo $fb_data['name']; ?> </span> </a> </p> <div> <?php $opt = get_option('wpemfb_show_follow'); if ($opt === 'true') { WEF_Social_Plugins::follow_btn('https://www.facebook.com/' . $fb_data['id']); } ?> </div> </div> </div> </div>
<p> <a href="http://www.facebook.com/<?php echo $fb_post['from']['id']; ?> " target="_blank" rel="nofollow"> <span class="title"><?php echo $fb_post['from']['name']; ?> </span> </a> </p> <div> <?php $opt = get_option('wpemfb_show_like'); if ($opt === 'true') { echo WEF_Social_Plugins::like_btn($fb_post['link'], array('share' => 'true', 'layout' => 'button_count')); } else { printf(__('%d people like this.', 'wp-embed-facebook'), $fb_post['likes']); } ?> </div> </div> <?php if (isset($fb_post['picture']) || isset($fb_post['message'])) { ?> <?php global $wp_embed; include 'single-post.php'; ?> <?php }