Changeset 1105 for sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/template-home.php
- Timestamp:
- 01/08/2015 06:29:55 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/template-home.php
r842 r1105 89 89 </div><!-- .wc-news --> 90 90 91 <div class="wc- sessions last">92 <h3> WordCamp <strong>Sessions</strong></h3>91 <div class="wc-tweets last"> 92 <h3><strong>Latest Tweets</strong></h3> 93 93 94 <?php $sessions = WordCamp_Central_Theme::get_sessions(); ?> 95 <?php if ( ! empty( $sessions ) ) : ?> 96 <ul> 97 <?php foreach( $sessions as $session ) : ?> 94 <div id="wc-tweets-spinner" class="spinner spinner-visible"></div> 95 <ul id="wc-tweets-container" class="transparent"></ul> 96 97 <p id="wc-tweets-error" class="hidden" hidden> 98 Tweets from <a href="https://twitter.com/wordcamp">@WordCamp</a> are currently unavailable. 99 </p> 100 101 <a href="https://twitter.com/wordcamp" class="more">Follow @WordCamp on Twitter →</a> 102 103 <script id="tmpl-wc-tweet" type="text/html"> 98 104 <li> 99 <?php echo $session['wordcamp_thumb']; ?> 100 <a href="<?php echo esc_url( $session['permalink'] ); ?>" class="wc-session-name"><?php echo esc_html( $session['name'] ); ?></a> 101 <span class="wc-session-speakers">by <?php echo esc_html( $session['speakers'] ); ?></span> 102 <a href="<?php echo esc_url( $session['wordcamp_permalink'] ); ?>" class="wc-session-wordcamp"><?php echo esc_html( $session['wordcamp_title'] ); ?></a> 105 <div class="wc-tweet-content">{{{tweet.text}}}</div> 106 107 <p class="wc-tweet-timestamp"> 108 <a href="https://twitter.com/wordcamp/status/{{tweet.id_str}}">{{tweet.time_ago}}</a> 109 </p> 110 111 <ul class="wc-tweet-actions clearfix"> 112 <li class="wc-tweet-action-reply"> 113 <a href="https://twitter.com/intent/tweet?in_reply_to={{tweet.id_str}}"> 114 <span class="wc-tweet-action-icon"></span> 115 Reply 116 </a> 117 </li> 118 119 <li class="wc-tweet-action-retweet"> 120 <a href="https://twitter.com/intent/retweet?tweet_id={{tweet.id_str}}"> 121 <span class="wc-tweet-action-icon"></span> 122 Retweet 123 </a> 124 </li> 125 126 <li class="wc-tweet-action-favorite"> 127 <a href="https://twitter.com/intent/favorite?tweet_id={{tweet.id_str}}"> 128 <span class="wc-tweet-action-icon"></span> 129 Favorite 130 </a> 131 </li> 132 </ul> 103 133 </li> 104 <?php endforeach; ?> 105 </ul> 106 <!--<a href="#" class="more">More Speakers →</a>--> 107 <?php else : // ! empty( $sessions ) ?> 108 <p>We're sorry, the speakers list is temporarily unavailable.</p> 109 <?php endif; ?> 110 </div> <!-- .wc-speakers --> 134 </script> 135 </div> <!-- .wc-tweets --> 111 136 112 137 </div> <!-- #wc-content-blocks -->
Note: See TracChangeset
for help on using the changeset viewer.