Changeset 2055656
- Timestamp:
- 03/22/2019 09:13:06 PM (7 years ago)
- File:
-
- 1 edited
-
makemydonation-imo/trunk/template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
makemydonation-imo/trunk/template.php
r2052717 r2055656 193 193 } 194 194 195 function get_the_mmdimo_donations_list( $post = 0, $content = NULL, $display_amount = FALSE, $display_charity = TRUE, $display_donor_name = TRUE, $display_destination = TRUE, $display_honoree = FALSE, $display_deceased = FALSE, $display_total_amount = FALSE ) {195 function get_the_mmdimo_donations_list( $post = 0, $content = NULL, $display_amount = FALSE, $display_charity = TRUE, $display_donor_name = TRUE, $display_destination = TRUE, $display_honoree = FALSE, $display_deceased = FALSE, $display_total_amount = FALSE, $display_date = FALSE ) { 196 196 $post = get_post( $post ); 197 197 $id = isset( $post->ID ) ? $post->ID : 0; … … 208 208 209 209 $item .= '<dl>'; 210 211 if ( $display_date ) { 212 $item .= '<dt class="mmdimo-donations-list-date">' . __('Date:', 'mmdimo') . '</dt>'; 213 $item .= '<dd class="mmdimo-donations-list-date"><span class="mmdimo-donations-list-date">' . date(get_option( 'date_format' ), $donation->created) . '</span></dd>'; 214 } 210 215 211 216 if ( $display_amount ) {
Note: See TracChangeset
for help on using the changeset viewer.