Social Feed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
<div class="twitter-feeds"> <div class="head-part"> <div class="round-part"></div> <?php $xml = simplexml_load_file ( 'https://twitrss.me/twitter_user_to_rss/?user=RebelOg_' ); ?> <div class="title-part"> <div class="title text-ellipsis">twitter</div> <div class="desc">Rebel OG</div> </div> <div class="clear"></div> </div> <div class="data-part flex-item-social"> <ul class="feeds-list" style=" height: 400px; overflow: scroll; "> <?php foreach ( $xml->channel->item as $item ) { ?> <li > <div class="tweet-icon"></div> <div class="tweet-detail"> <div class="tweet-desc"> <?php echo $item->title;?> </div> <div class="tweet-link"> <a target="_blank" href="<?php echo $item->link;?>"> <?php echo $item->link;?></a> </div> <div class="tweet-time"> <?php echo human_time_diff(strtotime($item->pubDate), current_time('timestamp')) . " " . __('ago');?> </div> </div> <div class="clear"></div> </li> <?php } ?> </ul> </div> </div> |
1 |
<a class="twitter-timeline" href="https://twitter.com/BJP4Rajasthan" data-height="405">Tweets by BJP4Rajasthan</a><script src="//platform.twitter.com/widgets.js" async="" charset="utf-8"></script> |
1 |
<iframe style="border: none; overflow: hidden;" src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2Fbjp4rajasthan%2F&tabs=timeline&width=340&height=405&small_header=true&adapt_container_width=true&hide_cover=false&show_facepile=true&appId" width="340" height="405" frameborder="0" scrolling="no"></iframe> |