Changeset 2898 for sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/template-home.php
- Timestamp:
- 04/05/2016 04:05:02 PM (9 years ago)
- Location:
- sites/trunk/wordcamp.org
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org
-
Property
svn:mergeinfo
set to
/sites/branches/application-tracking/wordcamp.org merged eligible
-
Property
svn:mergeinfo
set to
-
sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/template-home.php
r1105 r2898 17 17 if ( function_exists( 'wcpt_has_wordcamps' ) && 18 18 wcpt_has_wordcamps( array( 19 'post_status' => array( 20 'wcpt-scheduled', 21 'wcpt-needs-debrief', 22 'wcpt-debrief-schedul', 23 'wcpt-closed', 24 25 // back-compat 26 'publish', 27 ), 19 28 'posts_per_page' => 5, 20 29 'meta_key' => 'Start Date (YYYY-mm-dd)', … … 58 67 $formats[$i] = 'post-format-' . $format; 59 68 60 $news = new WP_Query( array( 61 'posts_per_page' => 1, 69 $news = new WP_Query( array( 70 'posts_per_page' => 1, 62 71 'ignore_sticky_posts' => 1, 63 72 'tax_query' => array( … … 85 94 <?php endif; ?> 86 95 87 <a href="<?php echo home_url( '/news/' ); ?>" class="more">More News →</a> 96 <a href="<?php echo home_url( '/news/' ); ?>" class="more">More News →</a> 88 97 89 98 </div><!-- .wc-news -->
Note: See TracChangeset
for help on using the changeset viewer.