Changeset 1127
- Timestamp:
- 01/12/2015 12:58:52 AM (12 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012
- Files:
-
- 2 edited
-
functions.php (modified) (1 diff)
-
template-past-wordcamps.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/functions.php
r1113 r1127 592 592 } 593 593 594 public static function the_wordcamp_date( ) {595 $start_day = wcpt_get_wordcamp_start_date( 0, 'j' );596 $start_month = wcpt_get_wordcamp_start_date( 0, 'F' );597 $end_day = wcpt_get_wordcamp_end_date( 0, 'j' );598 $end_month = wcpt_get_wordcamp_end_date( 0, 'F' );594 public static function the_wordcamp_date( $wordcamp_id = 0 ) { 595 $start_day = wcpt_get_wordcamp_start_date( $wordcamp_id, 'j' ); 596 $start_month = wcpt_get_wordcamp_start_date( $wordcamp_id, 'F' ); 597 $end_day = wcpt_get_wordcamp_end_date( $wordcamp_id, 'j' ); 598 $end_month = wcpt_get_wordcamp_end_date( $wordcamp_id, 'F' ); 599 599 600 600 echo "$start_month $start_day"; -
sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/template-past-wordcamps.php
r1113 r1127 56 56 57 57 <h2 class="wc-title"><?php wcpt_wordcamp_title(); ?></h2> 58 <span class="wc-country"><?php wcpt_wordcamp_location( ); ?></span>58 <span class="wc-country"><?php wcpt_wordcamp_location( $post->ID ); ?></span> 59 59 60 60 <span class="wc-date"> 61 <?php WordCamp_Central_Theme::the_wordcamp_date( ); ?>,62 <?php wcpt_wordcamp_start_date( 0, 'Y' ); ?>61 <?php WordCamp_Central_Theme::the_wordcamp_date( $post->ID ); ?>, 62 <?php wcpt_wordcamp_start_date( $post->ID, 'Y' ); ?> 63 63 </span> 64 64 </a>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)