You will not need to edit the plugin files. The theme has been written in a means so that you can easily overwrite the current output. Ideally, you would be using a child theme and would throw the following code in your functions.php file. If not, you can edit the template-tags.php file in the includes folder (includes/template-tags.php
). The code of interest is as follows and can be copy/pasted/edited to meet your needs:
/**
* Build and echo the portfolio meta information
*
* @param int $postid The post id
* @since 1.0
* @return void
*/
function base_portfolio_meta($postid) {
$output = '';
$url = get_post_meta( $postid, '_tzp_portfolio_url', true);
$date = get_post_meta( $postid, '_tzp_portfolio_date', true);
$client = get_post_meta( $postid, '_tzp_portfolio_client', true);
$role = get_post_meta( $postid, '_zilla_broadcast_portfolio_role', true);
if( $url || $date || $client || $role ) {
$output .= '<div class="portfolio-entry-meta"><ul>';
if( $date ) {
$output .= sprintf( '<li><strong>%1$s</strong> <span class="portfolio-project-date">%2$s</span></li>', __('Date: ', 'zilla'), esc_html( $date ) );
}
if( $client ) {
$output .= sprintf( '<li><strong>%1$s</strong><span class="portfolio-project-client">%2$s</span></li>', __('Client: ', 'zilla'), esc_html( $client ) );
}
if( $role ) {
$output .= sprintf( '<li><strong>%1$s</strong><span class="portfolio-project-role">%2$s</span></li>', __('Role: ', 'zilla'), esc_html( $role ) );
}
if( $url ) {
$output .= sprintf( '<li><strong>%1$s</strong><a class="portfolio-project-url" href="%2$s">%3$s</a></li>', __('URL: ', 'zilla'), esc_url( $url ), esc_url($url) );
}
$output .= '</ul></div>';
}
echo $output;
}