Modifica denominación de Apuntes por Notas breves

This commit is contained in:
Manuel Cillero 2020-05-07 20:23:09 +02:00
parent f6a7c540a3
commit bcb8953a07
2 changed files with 14 additions and 14 deletions

View file

@ -82,7 +82,7 @@ function fix_single_post_title( $args, $id ) {
else { else {
// Post categories by name: // Post categories by name:
$categories = array_values( array_column( get_the_category(), 'name' ) ); $categories = array_values( array_column( get_the_category(), 'name' ) );
if ( in_array( $categories[0], array( 'Blog', 'Archivo de notas', 'Apuntes', 'Álbum de fotos' ) ) ) { if ( in_array( $categories[0], array( 'Blog', 'Archivo de notas', 'Notas breves', 'Álbum de fotos' ) ) ) {
$args['title'] = $categories[0]; $args['title'] = $categories[0];
} }
} }

View file

@ -352,12 +352,12 @@ span[data-avia-tooltip] {
max-height: 900px; max-height: 900px;
width: auto; width: auto;
} }
/* Apuntes posts */ /* Notas breves posts */
article.category-apuntes .entry-content-wrapper div.entry-content { article.category-breves .entry-content-wrapper div.entry-content {
border-left: 7px solid #3c8dbc; border-left: 7px solid #3c8dbc;
padding-left: 20px; padding-left: 20px;
} }
article.category-apuntes .entry-content-wrapper p { article.category-breves .entry-content-wrapper p {
font-size: 1.235em; font-size: 1.235em;
line-height: 1.5em; line-height: 1.5em;
text-align: left; text-align: left;