There has been something that i can't seem to work out. I's about an entry title, which on the front page shows on top of each portfolio item (on hover).
Here you can see what i mean; www.untoldworks.com
All i'm trying to do is move the entry title so it shows in line with the entry category & entry date on the left side of the portfolio item.
As i understand the entry meta layout for the portfolio page is found within template-tags.php
function eris_entry_header() {
if ( !is_single() && ( !is_search() && ( 'link' == get_post_format() || 'quote' == get_post_format() ) ) ) {
return;
}
$time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated" datetime="%3$s">%4$s</time>';
}
$edit_post_link = '';
if ( is_user_logged_in() ) {
$edit_post_link = '<a href="' . esc_url( get_edit_post_link() ) . '"></a>';
}
$time_string = sprintf( $time_string,
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() ),
esc_attr( get_the_modified_date( 'c' ) ),
esc_html( get_the_modified_date() )
);
$posted_on = sprintf(
esc_html_x( '%s', 'post date', 'eris' ),
'<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a>'
);
if ( 'portfolio' == get_post_type() ) {
$categories_list = get_the_term_list( get_the_ID(), 'ct_portfolio', '', ' ', '' );
} else {
$categories_list = get_the_term_list( get_the_ID(), 'category', '', ' ', '' );
}
if ( is_single() ) {
the_title( '<h1 class="entry-title">', '</h1>' );
} else {
the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
}
printf( '<div class="entry-meta"><span class="category-list">%1$s</span><span class="post-date">%2$s</span><span class="edit-link">%3$s</span></div>', $categories_list, $posted_on, $edit_post_link );}
It would be great if the entry title would show first (so left bottom corner of portfolio item) after that the entry category and after that the date.
Hope someone can figure this out XD Thanks in advance!