Commit 077db012 authored by numeroteca's avatar numeroteca

#10 mete nueva fecha en activity box template big

parent a69ffb53
......@@ -67,9 +67,12 @@ $post_id = $post->ID;
// Display year if this is a Activity CPT
} else if ( 'actividad' == get_post_type( $post_id ) ) {
$prefixact = '_act_';
$date = get_post_meta( $post_id, $prefixact.'date-init-fix', true );
echo get_the_term_list( $post_id, 'tipo-actividad', ' ', ', ', '' ) . "<br>";
echo '<i class="fa fa-calendar-o"></i>'.get_post_meta( $post_id, '_act_date-init', true );
echo '<i class="fa fa-calendar-o"></i>'. date("d/M/Y", strtotime($date));
// Display more link if this is a Entidad CPT
} else if ( 'entidad' == get_post_type( $post_id ) ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment