Commit 35721497 authored by numeroteca's avatar numeroteca

mete año y autoria en título de caja pequeña, img a 200px

parent 47bab1ed
......@@ -17,6 +17,7 @@ $relacion_barrio = get_post_meta( $post_id, $prefixact.'relacion-barrio', true )
$relacion_ayuntamiento = get_post_meta( $post_id, $prefixact.'relacion-ayuntamiento', true );
$activity_summary = get_post_meta( $post_id, $prefixact.'resumen-actividad', true );
$entries = get_post_meta( get_the_ID(), $prefixact . 'mas_info_url', true );
$autoria = get_post_meta( $post_id, 'autoria', true );
$the_content = get_the_content();
?>
......@@ -33,7 +34,7 @@ $the_content = get_the_content();
}
$image .= '<figure>';
$image .= '<a href="' . get_permalink() . '" title="' . the_title( '', '', false ) . '">';
$image .= get_the_post_thumbnail( $post->ID, $featured, array( // TODO array(200,150) could be added to control size of image
$image .= get_the_post_thumbnail( $post->ID, array(200,200), array( // TODO array(200,150) could be added to control size of image
'title' => esc_attr( $title_attribute ),
'alt' => esc_attr( $image_alt_text ),
) ) . '</a>';
......@@ -44,7 +45,7 @@ $the_content = get_the_content();
<div class="article-content">
<?php colormag_colored_category(); ?>
<h3 class="entry-title">
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?> <?php if ( 'pr' == get_post_type( $post_id ) ) { echo " | ". $autoria . strip_tags(get_the_term_list( $post_id, 'yr', ' (', ',', ')' )); } ?> </a>
</h3>
<div class="below-entry-meta">
......@@ -53,7 +54,7 @@ $the_content = get_the_content();
if ( 'pr' == get_post_type( $post_id ) ) {
the_excerpt();
echo "<div class='project_year'>".get_the_term_list( $post_id, 'yr', ' ', '|', '' ) . "</div>";
// echo "<div class='project_year'>".get_the_term_list( $post_id, 'yr', ' ', '|', '' ) . "</div>";
// for ctivities
} else {
......
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