Quitar Category:
-
Hola, estoy usando la plantilla Hemingway y puse en el menu, las categorias. El problema es que cada vez que ingreso a una categoria desde el menu, sobre la descripcion me sale la leyenda:
Category:»Nombre de la categoria»Estuve mirando el codigo y creo que encontre donde esto figura, pero sinceramente no se que tocar para sacarlo.
<h4><?php if ( is_day() ) : ?>
<?php printf( __( ‘Date: %s’, ‘hemingway’ ), » . get_the_date() . » ); ?>
<?php elseif ( is_month() ) : ?>
<?php printf( __( ‘Month: %s’, ‘hemingway’ ), » . get_the_date( _x( ‘F Y’, ‘F = Month, Y = Year’, ‘hemingway’ ) ) ); ?>
<?php elseif ( is_year() ) : ?>
<?php printf( __( ‘Year: %s’, ‘hemingway’ ), » . get_the_date( _x( ‘Y’, ‘Y = Year’, ‘hemingway’ ) ) ); ?>
<?php elseif ( is_category() ) : ?>
<?php printf( __( ‘Category: %s’, ‘hemingway’ ), » . single_cat_title( », false ) . » ); ?>
<?php elseif ( is_tag() ) : ?>
<?php printf( __( ‘Tag: %s’, ‘hemingway’ ), » . single_tag_title( », false ) . » ); ?>
<?php elseif ( is_author() ) : ?>
<?php $curauth = (isset($_GET[‘author_name’])) ? get_user_by(‘slug’, $author_name) : get_userdata(intval($author)); ?>
<?php printf( __( ‘Author: %s’, ‘hemingway’ ), $curauth->display_name ); ?>
<?php else : ?>
<?php _e( ‘Archive’, ‘hemingway’ ); ?>
<?php endif; ?>Como se puede ver, hay una linea que dice:
<?php printf( __( ‘Category: %s’, ‘hemingway’ ), » . single_cat_title( », false ) . » ); ?>
Y que creo que es la que deberia modificar para que esa leyenda no salga mas.
Gracias
- El debate ‘Quitar Category:’ está cerrado a nuevas respuestas.