Making WordPress.org


Ignore:
Timestamp:
04/05/2016 04:05:02 PM (9 years ago)
Author:
kovshenin
Message:

WordCamp.org: Reintegrate application-tracking branch into trunk.

Location:
sites/trunk/wordcamp.org
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org

  • sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/template-home.php

    r1105 r2898  
    1717            if ( function_exists( 'wcpt_has_wordcamps' ) &&
    1818                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                    ),
    1928                    'posts_per_page' => 5,
    2029                    'meta_key'       => 'Start Date (YYYY-mm-dd)',
     
    5867                    $formats[$i] = 'post-format-' . $format;
    5968
    60                 $news = new WP_Query( array( 
    61                     'posts_per_page' => 1, 
     69                $news = new WP_Query( array(
     70                    'posts_per_page' => 1,
    6271                    'ignore_sticky_posts' => 1,
    6372                    'tax_query' => array(
     
    8594            <?php endif; ?>
    8695
    87             <a href="<?php echo home_url( '/news/' ); ?>" class="more">More News &rarr;</a> 
     96            <a href="<?php echo home_url( '/news/' ); ?>" class="more">More News &rarr;</a>
    8897
    8998        </div><!-- .wc-news -->
Note: See TracChangeset for help on using the changeset viewer.