Making WordPress.org


Ignore:
Timestamp:
05/31/2017 10:18:31 PM (8 years ago)
Author:
coreymckrill
Message:

WordCamp Central: Add year to camp dates on the schedule

Changes the Schedule page template to emulate the organization on the
Past Camps page template, by grouping camps under a year header and
including the year in each camp's date.

This also adds a param to WordCamp_Central_Theme::the_wordcamp_date to
include the year in the camp date output. The default is to not include
it, for backcompat.

Props frq
Fixes #2065

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/template-past-wordcamps.php

    r4038 r5530  
    6565
    6666                                        <span class="wc-date">
    67                                             <?php WordCamp_Central_Theme::the_wordcamp_date( $post->ID ); ?>,
    68                                             <?php wcpt_wordcamp_start_date( $post->ID, 'Y' ); ?>
     67                                            <?php WordCamp_Central_Theme::the_wordcamp_date( $post->ID, true ); ?>
    6968                                        </span>
    7069                                    </a>
Note: See TracChangeset for help on using the changeset viewer.