theme changes
This commit is contained in:
@@ -532,24 +532,19 @@ function gustavoo_portfolio_reading_time( $post_id = null ) {
|
||||
* @return void
|
||||
*/
|
||||
function gustavoo_portfolio_entry_terms() {
|
||||
$categories = get_the_category_list( esc_html_x( ', ', 'category list separator', 'gustavoo-portfolio' ) );
|
||||
$tags = get_the_tag_list( '', esc_html_x( ', ', 'tag list separator', 'gustavoo-portfolio' ) );
|
||||
$tags = get_the_tag_list( '', esc_html_x( ', ', 'tag list separator', 'gustavoo-portfolio' ) );
|
||||
|
||||
if ( $categories ) {
|
||||
printf(
|
||||
'<div class="entry-terms entry-terms--categories"><span>%1$s</span> %2$s</div>',
|
||||
esc_html__( 'Categorias:', 'gustavoo-portfolio' ),
|
||||
wp_kses_post( $categories )
|
||||
);
|
||||
if ( ! $tags ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( $tags ) {
|
||||
printf(
|
||||
'<div class="entry-terms entry-terms--tags"><span>%1$s</span> %2$s</div>',
|
||||
esc_html__( 'Tags:', 'gustavoo-portfolio' ),
|
||||
wp_kses_post( $tags )
|
||||
);
|
||||
}
|
||||
printf(
|
||||
'<div class="entry-terms entry-terms--tags"><span>%1$s</span> %2$s</div>',
|
||||
esc_html__( 'Tags:', 'gustavoo-portfolio' ),
|
||||
wp_kses_post( $tags )
|
||||
);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user