theme changes

This commit is contained in:
gustavooth
2026-07-26 20:47:44 -03:00
parent b9b8307088
commit 5891467266
7 changed files with 181 additions and 32 deletions
@@ -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;
}
/**