From bcb8953a077cc6e3f2a7a2c530d0460366522b15 Mon Sep 17 00:00:00 2001 From: Manuel Cillero Date: Thu, 7 May 2020 20:23:09 +0200 Subject: [PATCH] =?UTF-8?q?Modifica=20denominaci=C3=B3n=20de=20Apuntes=20p?= =?UTF-8?q?or=20Notas=20breves?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../themes/enfold-cille/functions.php | 10 +++++----- www/wp-content/themes/enfold-cille/style.css | 18 +++++++++--------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/www/wp-content/themes/enfold-cille/functions.php b/www/wp-content/themes/enfold-cille/functions.php index e1b26ac..dc827ab 100644 --- a/www/wp-content/themes/enfold-cille/functions.php +++ b/www/wp-content/themes/enfold-cille/functions.php @@ -17,7 +17,7 @@ if ( !function_exists( 'write_log' ) ) { error_log( "$log\n", 3, '/tmp/manuel.cillero.errors.log' ); } # } - } +} } /* @@ -28,7 +28,7 @@ add_filter( 'body_class', 'add_category_name' ); function add_category_name( $classes = '' ) { if ( is_single() ) { $category = get_the_category(); - $classes[] = 'category-' . $category[0]->slug; + $classes[] = 'category-' . $category[0]->slug; } return $classes; } @@ -82,9 +82,9 @@ function fix_single_post_title( $args, $id ) { else { // Post categories by 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]; - } + } } } elseif ( is_category() || is_tag() ) { @@ -202,7 +202,7 @@ function before_save_post( $data, $postarr ) { } else { $data['post_content'] = substr( $data['post_content'], $dotpos + 2 ); - } + } } } else { diff --git a/www/wp-content/themes/enfold-cille/style.css b/www/wp-content/themes/enfold-cille/style.css index 4bf9ae7..99ac78d 100644 --- a/www/wp-content/themes/enfold-cille/style.css +++ b/www/wp-content/themes/enfold-cille/style.css @@ -134,7 +134,7 @@ a.avia-cookie-consent-button:hover { .avia-cookie-consent p { max-width: 100%; text-align: justify; - } + } } /* @@ -352,12 +352,12 @@ span[data-avia-tooltip] { max-height: 900px; width: auto; } -/* Apuntes posts */ -article.category-apuntes .entry-content-wrapper div.entry-content { +/* Notas breves posts */ +article.category-breves .entry-content-wrapper div.entry-content { border-left: 7px solid #3c8dbc; padding-left: 20px; } -article.category-apuntes .entry-content-wrapper p { +article.category-breves .entry-content-wrapper p { font-size: 1.235em; line-height: 1.5em; text-align: left; @@ -525,11 +525,11 @@ li.comment { */ div.EnlighterJSWrapper { overflow-x: scroll; -} + } ul.EnlighterJS { padding: 12px 0 !important; background-color: #fff !important; -} + } ul.EnlighterJS li, div.EnlighterJSWrapper pre { white-space: pre; @@ -537,10 +537,10 @@ div.EnlighterJSWrapper pre { span.EnlighterJS { border: 0 !important; background-color: #fffcd3 !important; -} + } .EnlighterJS span { font-size: 18px !important; -} + } .wpcustomEnlighterJS span { font-size: 24px !important; } @@ -1005,7 +1005,7 @@ body.tax-quote_author_tag .quote-author a:hover { body.page-id-121962 div.container_wrap_first > div.container:first-child { background: #fff; padding-left: 30px; - } + } #avia2-menu { display: none; }