From abe4e79dbce7013df83ecb84c1c4b4251706917d Mon Sep 17 00:00:00 2001 From: Manuel Cillero Date: Wed, 18 Dec 2019 00:22:52 +0100 Subject: [PATCH] Actualiza la estructura de archivos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reorganiza el árbol de directorios y ficheros del proyecto de acuerdo a la estructura original del sitio. --- enfold-cille/images/bg-footer.png | Bin 18609 -> 0 bytes favicon.ico | Bin 1406 -> 0 bytes logo.png => www/logo.png | Bin .../enfold-cille}/avia-snippet-widget.css | 0 .../avia-snippet-widget.css.original | 0 .../flexible-posts-widget/list-blogroll.php | 0 .../flexible-posts-widget/list-items.php | 0 .../flexible-posts-widget/list-notes.php | 0 .../list-photos-footer.php | 0 .../flexible-posts-widget/list-photos.php | 0 .../flexible-posts-widget/list-recents.php | 0 .../flexible-posts-widget/quote.php | 0 .../themes/enfold-cille/functions.php | 672 ++++++++++++ .../images/av-masonry-item-no-image.jpg | Bin .../themes/enfold-cille/images/bg-footer.png | Bin .../themes/enfold-cille}/images/bg-page.png | Bin .../enfold-cille}/images/bg-preview.jpg | Bin .../enfold-cille}/images/list-photoblog.png | Bin .../themes/enfold-cille}/images/quotes-en.png | Bin .../themes/enfold-cille}/images/quotes-es.png | Bin .../themes/enfold-cille}/images/quotes.png | Bin .../themes/enfold-cille}/screenshot.png | Bin .../themes/enfold-cille}/sidebar.original | 0 .../themes/enfold-cille}/sidebar.php | 0 www/wp-content/themes/enfold-cille/style.css | 991 ++++++++++++++++++ 25 files changed, 1663 insertions(+) delete mode 100644 enfold-cille/images/bg-footer.png delete mode 100644 favicon.ico rename logo.png => www/logo.png (100%) rename {enfold-cille => www/wp-content/themes/enfold-cille}/avia-snippet-widget.css (100%) rename {enfold-cille => www/wp-content/themes/enfold-cille}/avia-snippet-widget.css.original (100%) mode change 100755 => 100644 rename {enfold-cille => www/wp-content/themes/enfold-cille}/flexible-posts-widget/list-blogroll.php (100%) rename {enfold-cille => www/wp-content/themes/enfold-cille}/flexible-posts-widget/list-items.php (100%) rename {enfold-cille => www/wp-content/themes/enfold-cille}/flexible-posts-widget/list-notes.php (100%) rename {enfold-cille => www/wp-content/themes/enfold-cille}/flexible-posts-widget/list-photos-footer.php (100%) rename {enfold-cille => www/wp-content/themes/enfold-cille}/flexible-posts-widget/list-photos.php (100%) rename {enfold-cille => www/wp-content/themes/enfold-cille}/flexible-posts-widget/list-recents.php (100%) rename {enfold-cille => www/wp-content/themes/enfold-cille}/flexible-posts-widget/quote.php (100%) create mode 100644 www/wp-content/themes/enfold-cille/functions.php rename {enfold-cille => www/wp-content/themes/enfold-cille}/images/av-masonry-item-no-image.jpg (100%) rename bg-footer.png => www/wp-content/themes/enfold-cille/images/bg-footer.png (100%) rename {enfold-cille => www/wp-content/themes/enfold-cille}/images/bg-page.png (100%) rename {enfold-cille => www/wp-content/themes/enfold-cille}/images/bg-preview.jpg (100%) rename {enfold-cille => www/wp-content/themes/enfold-cille}/images/list-photoblog.png (100%) rename {enfold-cille => www/wp-content/themes/enfold-cille}/images/quotes-en.png (100%) rename {enfold-cille => www/wp-content/themes/enfold-cille}/images/quotes-es.png (100%) rename {enfold-cille => www/wp-content/themes/enfold-cille}/images/quotes.png (100%) rename {enfold-cille => www/wp-content/themes/enfold-cille}/screenshot.png (100%) rename {enfold-cille => www/wp-content/themes/enfold-cille}/sidebar.original (100%) rename {enfold-cille => www/wp-content/themes/enfold-cille}/sidebar.php (100%) create mode 100644 www/wp-content/themes/enfold-cille/style.css diff --git a/enfold-cille/images/bg-footer.png b/enfold-cille/images/bg-footer.png deleted file mode 100644 index c50df53c20f4141b4720736ce7c183067e1b6857..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 18609 zcma%jWmptyv^4_KpoGLoNF!YW(hbtxAl)sUDjh>3-Q6G{4bq2h5RvX2y5qil-*f+8 zpE-v)K5%B{efM5_?X}k?Oi4is6Agj}2M34wNm^V5d~F5)xS=3{e>?Nuc!DoT#bj?C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0F((2mcBg%i1tQ7tNwqZpKe@NJBn(R$M*si-07*qoM6N<$g8Lk&a{vGU diff --git a/favicon.ico b/favicon.ico deleted file mode 100644 index 5c1df5a55df54b2d916428af198b9f6144ef7406..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1406 zcmeIxO-R#m9LMpu)t0MPwzaJXb8A_x@}bR{ThnQlwI1woZC19-KSBpl5d=ZKD0&hV zLGcM6ry`0674f3rO%FbS4!kIcHx<0-MbQ5CudAoJ`TOzx!Rzz8eZPDmNW38-h;J}I zWuOI2Vu=w3u@3X2j!Y&)E|;TFC{QYus8lM{YBd^-2CY_$PNze!*JCgkFdB`ROeV}` zGZu>ltJR9lX2Wi`<8U}|I-R&&F5GT69*+mF*Ne~RLl6YAva-m|&L$@(huqv;^78V? z&(Eizpn$@{LW+utC@wChq@;w>(o)LG$|x@{r=p^Q%F0Trs;a22uBN7@hT7U%>gwvK zudk<}p@GK6Mw*(MXl`z%rKN?|)>hiu+GuZYr=z2T&dyG{y1MZD{d9MC)6>&KZ*MPs zeSP%z_cJgsz~JB@LqkIh4-YdkGQ#NSC}U$|jE|2qF)_j95{MBu$aTcLaiA;B!^v&ib+XL`}XyXmrvR!G2j7f-h#HC2~oejAco#0GNelA&vJ*hL@kG4Fr|8}MzJdkNajkm*%lEonM f%(?Sw)x|#+gU=U&Pn}l$wHSQAE)P2K&-?caw)NO6 diff --git a/logo.png b/www/logo.png similarity index 100% rename from logo.png rename to www/logo.png diff --git a/enfold-cille/avia-snippet-widget.css b/www/wp-content/themes/enfold-cille/avia-snippet-widget.css similarity index 100% rename from enfold-cille/avia-snippet-widget.css rename to www/wp-content/themes/enfold-cille/avia-snippet-widget.css diff --git a/enfold-cille/avia-snippet-widget.css.original b/www/wp-content/themes/enfold-cille/avia-snippet-widget.css.original old mode 100755 new mode 100644 similarity index 100% rename from enfold-cille/avia-snippet-widget.css.original rename to www/wp-content/themes/enfold-cille/avia-snippet-widget.css.original diff --git a/enfold-cille/flexible-posts-widget/list-blogroll.php b/www/wp-content/themes/enfold-cille/flexible-posts-widget/list-blogroll.php similarity index 100% rename from enfold-cille/flexible-posts-widget/list-blogroll.php rename to www/wp-content/themes/enfold-cille/flexible-posts-widget/list-blogroll.php diff --git a/enfold-cille/flexible-posts-widget/list-items.php b/www/wp-content/themes/enfold-cille/flexible-posts-widget/list-items.php similarity index 100% rename from enfold-cille/flexible-posts-widget/list-items.php rename to www/wp-content/themes/enfold-cille/flexible-posts-widget/list-items.php diff --git a/enfold-cille/flexible-posts-widget/list-notes.php b/www/wp-content/themes/enfold-cille/flexible-posts-widget/list-notes.php similarity index 100% rename from enfold-cille/flexible-posts-widget/list-notes.php rename to www/wp-content/themes/enfold-cille/flexible-posts-widget/list-notes.php diff --git a/enfold-cille/flexible-posts-widget/list-photos-footer.php b/www/wp-content/themes/enfold-cille/flexible-posts-widget/list-photos-footer.php similarity index 100% rename from enfold-cille/flexible-posts-widget/list-photos-footer.php rename to www/wp-content/themes/enfold-cille/flexible-posts-widget/list-photos-footer.php diff --git a/enfold-cille/flexible-posts-widget/list-photos.php b/www/wp-content/themes/enfold-cille/flexible-posts-widget/list-photos.php similarity index 100% rename from enfold-cille/flexible-posts-widget/list-photos.php rename to www/wp-content/themes/enfold-cille/flexible-posts-widget/list-photos.php diff --git a/enfold-cille/flexible-posts-widget/list-recents.php b/www/wp-content/themes/enfold-cille/flexible-posts-widget/list-recents.php similarity index 100% rename from enfold-cille/flexible-posts-widget/list-recents.php rename to www/wp-content/themes/enfold-cille/flexible-posts-widget/list-recents.php diff --git a/enfold-cille/flexible-posts-widget/quote.php b/www/wp-content/themes/enfold-cille/flexible-posts-widget/quote.php similarity index 100% rename from enfold-cille/flexible-posts-widget/quote.php rename to www/wp-content/themes/enfold-cille/flexible-posts-widget/quote.php diff --git a/www/wp-content/themes/enfold-cille/functions.php b/www/wp-content/themes/enfold-cille/functions.php new file mode 100644 index 0000000..2c39b5c --- /dev/null +++ b/www/wp-content/themes/enfold-cille/functions.php @@ -0,0 +1,672 @@ +name, array( 'Twitter', 'Facebook', 'LinkedIn' ) ) ? 'Social' : $category[0]->name; + $args['link'] = NULL; + $args['heading'] = 'h1'; + } + elseif ( $post_type == 'quote' ) { + $args['title'] = 'Libro de citas'; + $args['link'] = NULL; + $args['heading'] = 'h1'; + } + } + return $args; +} + +/* + * Tag page with excerpt and featured image. + * See http://www.kriesi.at/support/topic/archive-page-with-excerpt-and-featured-image/ + */ +add_filter( 'avf_blog_style', 'avia_change_tag_page_layout', 10, 2 ); +function avia_change_tag_page_layout( $layout, $context ) { + if ( is_tag() ) { + $layout = 'single-small'; + } + return $layout; +} + +/* + * Register new icons as a theme icons fot GitHub and GitLab. + * See https://kriesi.at/documentation/enfold/custom-social-icons/ + */ +add_filter( 'avf_default_icons', 'avia_add_custom_icon', 10, 1 ); +function avia_add_custom_icon( $icons ) { + $icons['github'] = array( 'font' =>'fontello', 'icon' => 'uf09b' ); + $icons['gitlab'] = array( 'font' =>'fontello', 'icon' => 'uf296' ); + return $icons; +} +add_filter( 'avf_social_icons_options', 'avia_add_custom_social_icon', 10, 1 ); +function avia_add_custom_social_icon( $icons ) { + $icons['GitHub'] = 'github'; + $icons['GitLab'] = 'gitlab'; + return $icons; +} + +/* + * Add new class in Links and Social, Twitter, Facebook & LinkedIn posts. + * See https://tommcfarlin.com/add-class-to-single-post/ + */ +add_filter( 'post_class', 'add_simple_class' ); +function add_simple_class( $classes ) { + $category = get_the_category(); + if ( !empty( $category ) && in_array( $category[0]->term_id, array( 1569, 1561, 1562, 1563, 1564 ) ) ) { + $classes[] = 'post-entry-simple'; + } + return $classes; +} + +/* + * Breadcrumb formatting for social and categories content. + * See http://www.kriesi.at/support/topic/how-to-modify-in-child_theme-the-function-avia_breadcrumbs-finished-with-s + */ +add_filter( 'avia_breadcrumbs_trail', 'avia_change_breadcrumb', 50, 2 ); +function avia_change_breadcrumb( $trail, $args ) { + if ( is_single() ) { + $category = get_the_category(); + if ( !empty( $category ) ) { + // Correct breadcrumb for Blog, Bloc de notas & Fotoblog single posts: + if ( in_array( $category[0]->term_id, array( 982, 978, 976 ) ) && strpos( $trail[1], 'social' ) ) { + switch ( $category[0]->term_id ) { + case 982: // Blog + array_splice( $trail, 1, 2, array( 'Blog' ) ); + break; + case 978: // Bloc de notas + array_splice( $trail, 1, 2, array( 'Bloc de notas' ) ); + break; + case 976: // Fotoblog + array_splice( $trail, 1, 2, array( 'Álbum de fotos' ) ); + } + } + // Social breadcrumb for Twitter, Facebook & LinkedIn content: + elseif ( in_array( $category[0]->term_id, array( 1562, 1563, 1564 ) ) ) { + unset ( $trail[2] ); + } + } + } + elseif ( is_tag() || is_category( array( 982, 978, 976 ) ) ) { + // Posts breadcrumb for Blog, Bloc de notas & Fotoblog categories: + array_splice( $trail, 1, 0, array( 'Entradas' ) ); + } + return $trail; +} + +/* + * Auto generate the post title if it's empty and post has content. And share + * content in social networks if required. + */ +add_filter( 'wp_insert_post_data', 'before_save_post', 1, 2 ); +function before_save_post( $data, $postarr ) { + // Title for Instagram captures: + if ( $data['post_title'] == 'INSTAGRAM' ) { + $dotpos = strpos( $data['post_content'], '. ' ); + $title_instagram = $dotpos > 0 ? substr( $data['post_content'], 0, $dotpos ) : $data['post_content']; + $title_instagram = trim( strip_tags( preg_replace( '!\s+!', ' ', str_replace( ' ', ' ', $title_instagram ) ) ) ); + $title_words = explode( ' ', $title_instagram ); + if ( count( $title_words ) > 12 ) { + $title_instagram = implode( ' ', array_slice( $title_words, 0, 12 ) ) . ' …'; + } + else { + $data['post_content'] = substr( $data['post_content'], $dotpos + 2 ); + } + $data['post_title'] = $title_instagram; + } + + $title = preg_replace( '!\s+!', ' ', str_replace( ' ', ' ', $data['post_title'] ) ); + $text_title = trim( strip_tags( $title ) ); + + $content = preg_replace( '!\s+!', ' ', str_replace( ' ', ' ', $data['post_content'] ) ); + $text_content = trim( strip_tags( $content ) ); + + if ( empty( $text_title ) ) { + if ( ! empty( $text_content ) ) { + $content_words = explode( ' ', $text_content ); + $text_title = implode( ' ', array_slice( $content_words, 0, 4 ) ); + $data['post_title'] = count( $content_words ) > 4 ? "$text_title …" : $text_title; + } + } + + // Retrieve the list of categories for the post: + $categories = $postarr['post_category']; + if ( is_array( $categories ) ) { + if ( $categories[0] == 0 ) { + array_shift( $categories ); + } + } + else { + // For posts sent from the WordPress App: + $categories = $postarr['tax_input']['category']; + if ( ! is_array( $categories ) ) { + $categories = array(); + } + } + + // Count post categories: + $num_categories = count( $categories ); + + // Review post only for Álbum de fotos, Social, Twitter, Facebook & LinkedIn categories: + $num_social_categories = count( array_intersect( array( 976, 1561, 1562, 1563, 1564 ), $categories ) ); + + // Adapting content for pure social posts: +# if ( $num_categories == $num_social_categories ) { +# $post_content = trim( strip_tags( $content, '


' ) ); + /* + Remove html attributes except for anchor tag: + / Start Pattern + < Match '<' at beginning of tags + ( Start Capture Group $1 - Tag Name + [a-z] Match 'a' through 'z' + [a-z0-9]+ Match 'a' through 'z' or '0' through '9' one or more times + ) End Capture Group + [^>]*? Match anything other than '>', Zero or More times, not-greedy (wont eat the /) + (\/?) Capture Group $2 - '/' if it is there + > Match '>' + /i End Pattern - Case Insensitive + */ +# $post_content = preg_replace( "/<([a-z][a-z0-9]+)[^>]*?(\/?)>/i", '<$1$2>', $post_content ); +# $data['post_content'] = str_replace( array( '', '', '', '' ), array( '', '', '', '' ), $post_content ); +# } + + // Nothing to do if there aren't social categories: + if ( $num_social_categories > 0 ) { + // Preparing post excerpt for Twitter: + $text_excerpt = $text_content; + if ( ! empty( $text_title ) && mb_strpos( $text_content, $text_title ) !== 0 ) { + $text_excerpt = empty( $text_content ) ? $text_title : "$text_title. $text_content"; + } + $text_excerpt = html_entity_decode( $text_excerpt ); + + // Límite máximo. + // Debería ser de 280 caracteres menos los enlaces al blog y a la imagen + // destacada; pero como el plugin SNAP sigue acortando a 140 se opta por + // no restar nada ya que hay margen suficiente hasta los 280: + $limit = 140; +/* // Se le resta el enlace al blog: + $limit -= 25; + // Se le resta el enlace a la imagen destacada (si la tiene): + if (has_post_thumbnail()) { + $limit -= 25; + } +*/ + // Se prepara el texto que se puede mostrar: + if ( strlen( $text_excerpt ) > $limit ) { + preg_match_all( '#\bhttps?://[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|/))#', $text_excerpt, $matches ); + for ( $i = 0; $i < count( $matches[0] ); $i++ ) { + $text_excerpt = str_replace( $matches[0][$i], shorten_url( $matches[0][$i] ), $text_excerpt ); + } + if ( strlen( $text_excerpt ) > $limit ) { + $text_excerpt = mb_substr( $text_excerpt, 0, $limit - 1 ); + $text_excerpt = mb_substr( $text_excerpt, 0, mb_strrpos( $text_excerpt, ' ' ) ) . '…'; + } + } + $data['post_excerpt'] = $text_excerpt; + } + + return $data; +} + +function shorten_url( $long_url ) { + $bitly_login = 'o_7sko9rcpp7'; + $bitly_apikey = 'R_f414bf78d22443c6a6bad3c58921fd96'; + $bitly_shorten = "http://api.bit.ly/v3/shorten?login=" . $bitly_login . "&apiKey=" . $bitly_apikey . "&longUrl=" . $long_url . "&format=json"; + return json_decode( file_get_contents( $bitly_shorten ) )->data->url; +} + +/* + * Default image fallback. + * See https://www.artifaktdigital.com/use-yoast-seo-ogimage-as-a-fallback-featured-image-a-tutorial/ + * +# add_filter( 'post_thumbnail_html', 'social_post_defautl_thumbnail', 20, 5 ); +function social_post_defautl_thumbnail( $html, $post_id, $post_thumbnail_id, $size, $attr ) { + global $wpdb; + + if ( empty( $html ) ) { + // Return you Yoast SEO default image if the post thumbnail html is empty: + $opt = get_option( 'wpseo_social' ); + $url = $opt['og_default_image']; + if ( $id !== '' ) { + // Retrieves the attachment ID from the file URL: + $attachment = $wpdb->get_col( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE guid = '%s';", $url ) ); + $id = $attachment[0]; + return wp_get_attachment_image( $id, $size ); + } + } + return $html; +} */ + +/* + * Add a button to display the number of characters in Title and Content editor; + * and also add a character counter to the Excerpt box (with no limit). + * See https://premium.wpmudev.org/blog/character-counter-excerpt-box + */ +add_action( 'admin_head-post.php', 'char_counter_js' ); +add_action( 'admin_head-post-new.php', 'char_counter_js' ); +function char_counter_js() { + if ( get_post_type() == 'post' ) { echo ' +'; + } +} + +/* + * Ensure that AccessPress Social Auto Post works in all cases. + * +add_action( 'publish_post', 'publish_social_post', 10, 2 ); +function publish_social_post( $ID, $post ) { + $auto_post = $_POST['asap_auto_post']; + if ( $auto_post == 'yes' || $auto_post == '' ) { + $plugin_asap_dir = ABSPATH . 'wp-content/plugins/accesspress-social-auto-post/'; + // Only Facebook and LinkedIn: + include_once( $plugin_asap_dir . 'api/facebook/facebook.php' ); +# include_once( $plugin_asap_dir . 'api/twitter/codebird.php' ); +# include_once( $plugin_asap_dir . 'api/tumblr/TumblrAPIClient.php' ); + include_once( $plugin_asap_dir . 'api/linkedin/liOAuth.php' ); + include( $plugin_asap_dir . 'inc/cores/auto-post.php' ); + $check = update_post_meta( $post->ID, 'asap_auto_post', 'no' ); + $_POST['asap_auto_post'] = 'no'; + } +} */ + +/* + * New widget for Enfold theme. Display the single post header with the slider, + * title and meta info. + */ +add_action( 'widgets_init', function() { + register_widget( 'enfold_post_header_widget' ); +}); +class enfold_post_header_widget extends WP_Widget { + function __construct() { + parent::__construct( + // Base ID: + 'enfold_post_header_widget', + // Widget name will appear in UI: + __( 'Enfold Cille Post Header', 'avia_framework' ), + // Widget description: + array( 'description' => __( 'Display the single post header with the slider, title and meta info', 'avia_framework' ) ) + ); + } + public function widget( $args, $instance ) { + global $avia_config; + + echo $args['before_widget']; + + $blog_style = avia_get_option( 'single_post_style', 'single-big' ); + $blog_global_style = avia_get_option( 'blog_global_style', '' ); + $the_id = get_the_ID(); + + // Get the current post id, the current post class and current post format: + $url = ''; + $current_post = array(); + $current_post['the_id'] = $the_id; + $current_post['post_type'] = get_post_type( $current_post['the_id'] ); + $current_post['post_class'] = 'post-entry-' . $current_post['the_id'] . ' ' . $blog_style; + $current_post['post_class'] .= $current_post['post_type'] == 'post' ? '' : ' post'; + $current_post['post_format'] = get_post_format() ? get_post_format() : 'standard'; + $current_post['post_layout'] = avia_layout_class( 'main', false ); + + // Retrieve slider and title for this post... + $size = strpos( $blog_style, 'big' ) ? strpos( $current_post['post_layout'], 'sidebar' ) !== false ? 'entry_with_sidebar' : 'entry_without_sidebar' : 'square'; + if ( ! empty( $avia_config['preview_mode'] ) && ! empty( $avia_config['image_size'] ) && $avia_config['preview_mode'] == 'custom' ) { + $size = $avia_config['image_size']; + } + $current_post['slider'] = get_the_post_thumbnail( $current_post['the_id'], $size ); + + if ( get_post_meta( $current_post['the_id'], '_avia_hide_featured_image', true ) ) { + $current_post['slider'] = ''; + } + + $current_post['title'] = get_the_title(); + + // Now apply a filter, based on the post type... (filter function is located in includes/helper-post-format.php): + $current_post = apply_filters( 'post-format-' . $current_post['post_format'], $current_post ); + + // Extract the variables so that $current_post['slider'] becomes $slider, $current_post['title'] becomes $title, etc... + extract( $current_post ); + + // Default link and preview image description: + $link = avia_image_by_id( get_post_thumbnail_id(), 'large', 'url' ); + $desc = get_post( get_post_thumbnail_id() ); + if ( is_object( $desc ) ) { + $desc = $desc->post_excerpt; + } + $featured_img_desc = $desc != '' ? $desc : the_title_attribute( 'echo=0' ); + + // Echo preview image: + if ( strpos( $blog_global_style, 'elegant-blog' ) === false ) { + if ( strpos( $blog_style, 'big' ) !== false ) { + if ( $slider ) $slider = "
$slider"; + if ( $slider ) echo "

$slider
"; + } + } + + echo '
'; + if ( strpos( $blog_style, 'multi' ) !== false ) { + $author_name = apply_filters( 'avf_author_name', get_the_author_meta( 'display_name', $post->post_author ), $post->post_author ); + $author_email = apply_filters( 'avf_author_email', get_the_author_meta( 'email', $post->post_author ), $post->post_author ); + $link = get_author_posts_url( $post->post_author ); + } + echo '
'; + + echo '
'; + + $taxonomies = get_object_taxonomies( get_post_type( $the_id ) ); + $cats = ''; + $excluded_taxonomies = array_merge( get_taxonomies( array( 'public' => false ) ), array( 'post_tag', 'post_format' ) ); + $excluded_taxonomies = apply_filters( 'avf_exclude_taxonomies', $excluded_taxonomies, get_post_type( $the_id ), $the_id ); + + if ( ! empty( $taxonomies ) ) { + foreach ( $taxonomies as $taxonomy ) { + if ( ! in_array( $taxonomy, $excluded_taxonomies ) ) { + $cats .= get_the_term_list( $the_id, $taxonomy, '', ', ', '') . ' '; + } + } + } + + if ( strpos( $blog_global_style, 'elegant-blog' ) !== false ) { + $cat_output = ''; + if ( ! empty( $cats ) ) { + $cat_output .= ''; + $cat_output .= $cats; + $cat_output .= ''; + $cats = ''; + } + echo strpos( $blog_global_style, 'modern-blog' ) === false ? $cat_output . $title : $title . $cat_output; + + echo ''; + + if ( strpos( $blog_style, 'big' ) !== false ) { + if ( $slider ) $slider = "$slider"; + if ( $slider ) echo "
$slider
"; + } + + $cats = ''; + $title = ''; + } + + echo $title; + + echo ''; + + echo '
'; + + echo $args['after_widget']; + } +} + +/* + * New widget for Enfold theme. Display the single post footer with the tags, + * social share links and related posts. + * See http://www.wpbeginner.com/wp-tutorials/how-to-create-a-custom-wordpress-widget/ + */ +add_action( 'widgets_init', function() { + register_widget( 'enfold_post_footer_widget' ); +}); +class enfold_post_footer_widget extends WP_Widget { + function __construct() { + parent::__construct( + // Base ID: + 'enfold_post_footer_widget', + // Widget name will appear in UI: + __( 'Enfold Cille Post Footer', 'avia_framework' ), + // Widget description: + array( 'description' => __( 'Display the single post footer with the tags, social share links and related posts', 'avia_framework' ) ) + ); + } + public function widget( $args, $instance ) { + echo $args['before_widget']; + echo '
'; + if ( has_tag() ) { + echo ''; + echo the_tags( '' . __( 'Tags:', 'avia_framework' ) . ' ' ); + echo ''; + } + avia_social_share_links(); + echo '
'; + echo '
'; + echo get_template_part( '../enfold/includes/related-posts'); + echo '
'; + echo $args['after_widget']; + } +} + +/* + * Enable a new widget sidebar to display widgets after the loop. + * See https://stackoverflow.com/questions/39181634/how-to-add-a-widget-after-post-content + * See https://wordpress.stackexchange.com/questions/107113/output-before-and-after-the-loop + */ +register_sidebar( array( + 'name' => 'Displayed After Loop', + 'id' => 'after-loop', + 'description' => '', + 'before_widget' => '
', + 'after_widget' => '
', + 'before_title' => '
', + 'after_title' => '
', +) ); +add_action( 'loop_end', 'wp_content_after_loop' ); +function wp_content_after_loop( $query ) { + if ( $query->is_main_query() && is_active_sidebar( 'after-loop' ) ) { + dynamic_sidebar( 'after-loop' ); + } +} + +/* + * Restore the font size in the tag cloud widget using a copy of the entire Avia + * stylesheet "enfold/css/avia-snippet-widget.css" from Enfold 4.5, and removing + * the font size line in the tag cloud styles. + * See https://kriesi.at/support/topic/tag-cloud-widget-display/#post-684196 + */ +add_action( 'wp_enqueue_scripts', 'wp_change_layoutcss', 20 ); +function wp_change_layoutcss() { + wp_dequeue_style( 'avia-widget-css' ); + wp_enqueue_style( 'avia-widget-css-child', get_stylesheet_directory_uri() . '/avia-snippet-widget.css' ); +} + +/* + * Remove Avia Framework debug information in child theme. + * See http://www.kriesi.at/support/topic/removal-of-theme-debug-info/#post-386207 + */ +add_action( 'init', 'avia_remove_debug' ); +function avia_remove_debug() { + remove_action( 'wp_head', 'avia_debugging_info', 1000 ); +} + +/* + * Disable the W3 Total Cache Footer Comment. + * See https://www.dylanbarlett.com/2014/01/disabling-w3-total-cache-footer-comment/ + */ +add_filter( 'w3tc_can_print_comment', '__return_false', 10, 1 ); + +/* + * Adding legal information in socket using a shortcode. + * See http://www.kriesi.at/support/topic/how-do-i-add-a-dynamic-current-year-to-socket + */ +add_shortcode( 'infolegal', 'infolegal_func' ); +function infolegal_func( $atts ) { + $legal = ' '; + $legal .= '2009-' . date( 'Y' ) . ' © manuel.cillero.es'; + return $legal; +} + +/* + * Hide text or emails from Spam Bots using a shortcode. + * Use: [antibots]text or email[/antibots]. + * See https://developer.wordpress.org/reference/functions/antispambot/#comment-756 + */ +add_shortcode( 'antibots', 'hide_content_antibots_shortcode' ); +function hide_content_antibots_shortcode( $atts, $content = null ) { + if ( is_email( $content ) ) { + return '' . esc_html( antispambot( $content ) ) . ''; + } + return antispambot( $content ); +} diff --git a/enfold-cille/images/av-masonry-item-no-image.jpg b/www/wp-content/themes/enfold-cille/images/av-masonry-item-no-image.jpg similarity index 100% rename from enfold-cille/images/av-masonry-item-no-image.jpg rename to www/wp-content/themes/enfold-cille/images/av-masonry-item-no-image.jpg diff --git a/bg-footer.png b/www/wp-content/themes/enfold-cille/images/bg-footer.png similarity index 100% rename from bg-footer.png rename to www/wp-content/themes/enfold-cille/images/bg-footer.png diff --git a/enfold-cille/images/bg-page.png b/www/wp-content/themes/enfold-cille/images/bg-page.png similarity index 100% rename from enfold-cille/images/bg-page.png rename to www/wp-content/themes/enfold-cille/images/bg-page.png diff --git a/enfold-cille/images/bg-preview.jpg b/www/wp-content/themes/enfold-cille/images/bg-preview.jpg similarity index 100% rename from enfold-cille/images/bg-preview.jpg rename to www/wp-content/themes/enfold-cille/images/bg-preview.jpg diff --git a/enfold-cille/images/list-photoblog.png b/www/wp-content/themes/enfold-cille/images/list-photoblog.png similarity index 100% rename from enfold-cille/images/list-photoblog.png rename to www/wp-content/themes/enfold-cille/images/list-photoblog.png diff --git a/enfold-cille/images/quotes-en.png b/www/wp-content/themes/enfold-cille/images/quotes-en.png similarity index 100% rename from enfold-cille/images/quotes-en.png rename to www/wp-content/themes/enfold-cille/images/quotes-en.png diff --git a/enfold-cille/images/quotes-es.png b/www/wp-content/themes/enfold-cille/images/quotes-es.png similarity index 100% rename from enfold-cille/images/quotes-es.png rename to www/wp-content/themes/enfold-cille/images/quotes-es.png diff --git a/enfold-cille/images/quotes.png b/www/wp-content/themes/enfold-cille/images/quotes.png similarity index 100% rename from enfold-cille/images/quotes.png rename to www/wp-content/themes/enfold-cille/images/quotes.png diff --git a/enfold-cille/screenshot.png b/www/wp-content/themes/enfold-cille/screenshot.png similarity index 100% rename from enfold-cille/screenshot.png rename to www/wp-content/themes/enfold-cille/screenshot.png diff --git a/enfold-cille/sidebar.original b/www/wp-content/themes/enfold-cille/sidebar.original similarity index 100% rename from enfold-cille/sidebar.original rename to www/wp-content/themes/enfold-cille/sidebar.original diff --git a/enfold-cille/sidebar.php b/www/wp-content/themes/enfold-cille/sidebar.php similarity index 100% rename from enfold-cille/sidebar.php rename to www/wp-content/themes/enfold-cille/sidebar.php diff --git a/www/wp-content/themes/enfold-cille/style.css b/www/wp-content/themes/enfold-cille/style.css new file mode 100644 index 0000000..81622e4 --- /dev/null +++ b/www/wp-content/themes/enfold-cille/style.css @@ -0,0 +1,991 @@ +/* +Theme Name: Enfold Cille +Description: A Child Theme for the Enfold Wordpress Theme. +Version: 1.4 +Author: Manuel Cillero +Author URI: http://manuel.cillero.es +Template: enfold +*/ + + +/* + * LAYOUT. + */ +.container { + padding-right: 30px; + padding-left: 30px; +} +div .av_one_fourth { + margin-left: 3%; + width: 23.5%; +} +#top .av-flex-placeholder { + width: 3%; +} +.big-preview.single-big, +.content .entry-content-wrapper, +.sidebar_right .comment_container, +.related_posts { + padding-right: 0; + margin-right: 0px !important; + border-top-width: 0; +} +body.tag .content { + padding-top: 12px; +} +body.page-child .content, +body.page-parent .content { + padding-top: 32px; +} + +/* + * Main colors. + */ +strong { + color: inherit !important; +} +div.container_wrap_first { + background: #ebeae9 url(images/bg-page.png) repeat-x 0 bottom; +} +div.container_wrap_first > div.container:first-child { + background-color: #fff; +} +.main_color .av-inner-masonry-content { + opacity: .82; + filter: alpha(opacity=82); /* For IE8 and earlier */ +} + +/* + * Lists. + */ +.custom-list > li { + list-style: none; + position: relative; +} +.custom-list > li > span.num { + display: block; + position: absolute; + text-align: right; + width: 3em; + left: -3.225em; + cursor: default; +} + +ol > li > br, +ul > li > br { + display: block; /* https://stackoverflow.com/a/31633969 */ + content: ""; + margin-top: 6px; +} + +/* + * Home page. + */ +.av-masonry-entry .av-masonry-entry-title { + font-size: 18px; + color: inherit; +} +.av-masonry-entry .av-inner-masonry-content { + padding: 10px; +} +.av-masonry-entry.category-blog.av-masonry-item-no-image .av-inner-masonry-content { + background: url(images/av-masonry-item-no-image.jpg) no-repeat center center; +} +#dpe_fp_widget-9 { + padding-bottom: 0; +} + +/* + * Cookies advice. + */ +.avia-cookie-consent p { + color: #fff; + font-size: .85em !important; + letter-spacing: 0.015em !important; + font-weight: lighter; + line-height: 1.55em; + max-width: 800px; + text-align: left; +} +.avia-cookie-consent a { + color: #aaa; + text-decoration: underline; +} +.avia-cookie-consent a:first-child { + text-decoration: none; + font-weight: bold; +} +.avia-cookie-consent a:hover { + color: #fff; +} +a.avia-cookie-consent-button:hover { + color: #000; +} +@media (max-width: 989px) { + .avia-cookie-consent p { + max-width: 100%; + text-align: justify; + } +} + +/* + * Main title & breadcrumb. + */ +.title_container .main-title { + font-size: 44px; + font-weight: 600; + line-height: 1em; + display: block; + margin-bottom: 6px; +} +#top .alternate_color.title_container .main-title, +#top .alternate_color.title_container .main-title a { + color: #ff3300; +} +.title_container .breadcrumb { + margin-top: .24em; + position: relative; + left: -2px; + right: auto; + line-height: 18px; + font-size: 13px; + font-weight: bold; + max-width: 100%; +} +.breadcrumb-trail span.breadcrumb-title { + display: none; +} +.alternate_color .breadcrumb a { + color: #3c8dbc; + text-decoration: none; +} +.alternate_color .breadcrumb a:hover, +.alternate_color .breadcrumb a:focus { + color: #f70a0a; +} + +/* + * MENUS. + */ +#header_main { + border-bottom: 0; +} +.av-main-nav > li > a { + font-weight: normal; + font-size: 18px; +} +.sub_menu { + font-size: 12px; +} +.sub_menu > ul > li > a, +.sub_menu > div > ul > li > a { + font-weight: normal; +} +.sub_menu > ul > li:hover > a { + text-decoration: none; +} +#top .av-main-nav ul a { + font-weight: 300; + font-size: 15px; +} +.header_color .avia-menu-fx { + background-color: #e9146c; + height: 4px; +} +#menu-item-5544 { + border-top: 1px solid #556372; +} + +/* + * Navigation menu for pages. + */ +#top .widget_nav_menu { + padding-bottom: 0; +} +#top .widget_nav_menu .nested_nav { + padding-bottom: 20px !important; +} +#top .widget_nav_menu ul ul li { + line-height: 1.5em; +} + +/* + * POST STYLES. + */ +.avia_textblock, +.entry-content-wrapper { + line-height: 1.42857; +} +.entry-content-header .post-title, +#top .flex_column .template-blog .post-title { + text-transform: none !important; + font-size: 41px !important; + line-height: 1em; + color: #ff3300; +} + +.entry-content-wrapper h1, +.entry-content-wrapper h2 { + text-transform: none !important; + letter-spacing: 0 !important; +} +.entry-content-wrapper h1, +.entry-content-wrapper h2, +.entry-content-wrapper h3, +.entry-content-wrapper h4 { + color: #b40b51; + margin: 1rem 0; + padding: 2px 10px 1px 0; +} +.entry-content-wrapper h3 { + font-size: 22px; +} +.entry-content-wrapper h4 { + font-size: 20px; + color: #585b5a; + margin-bottom: 10px; +} +.entry-content-wrapper h5 { + font-size: 19px; + color: #6a6e71; + margin: 1rem 0 5px; + padding: 0; +} +.entry-content-wrapper h6 { + font-size: 18px; + color: #81868b; + margin: 1rem 0 5px; + padding: 0; +} + +.entry-content-wrapper p { + text-align: justify; + margin: 1em 0; +} +#top .template-search.content .entry-content-wrapper { + font-size: 18px; + padding-bottom: 20px; +} +.entry-content-wrapper a { + text-overflow: ellipsis; + + text-decoration: none; + -webkit-transition: color .3s; + -moz-transition: color .3s; + -o-transition: color .3s; + -ms-transition: color .3s; + transition: color .3s; +} +.entry-content-wrapper li.no-bullet { + list-style-type: none; +} +.entry-content-wrapper li li { + margin-bottom: 0; +} +.entry-content-wrapper li > h4 { + margin-top: 8px; + margin-bottom: 8px; +} +.entry-content-wrapper td { + font-size: 14px; + line-height: 18px; +} +.entry-content-wrapper td li { + margin-left: 0; +} +.entry-content-wrapper td li ul { + margin-left: 1em; +} +.entry-content-wrapper .text-underline { + border-bottom: 1px solid currentcolor; +} +/* Text styles */ +span[data-avia-tooltip] { + padding-left: 2px; + padding-right: 2px; + border-bottom: 3px solid #e9146c; + cursor: help; +} +.text-highlight, +.line-highlight-green, +.line-highlight-yellow, +.line-highlight-red, +.line-highlight-blue { + padding-left: 2px; + padding-right: 2px; + border-bottom: 3px solid #d8ff3f !important; +} +.text-highlight { + border-radius: 3px; + border: 3px solid #d8ff3f !important; + background-color: #d8ff3f; +} +.line-highlight-yellow { + border-color: #fff2a8 !important; +} +.line-highlight-red { + border-color: #ffb7b7 !important; +} +.line-highlight-blue { + border-color: #a8d1ff !important; +} +/* Center and set background color for featured images */ +.big-preview a { + border-radius: 5px; + background: #ffdf99; /* url(images/bg-preview.jpg) repeat center center; */ +} +.post-entry .big-preview img { + margin: auto; +} +/* Links and Social posts */ +article.post-entry-simple .entry-content-wrapper div.entry-content { + border-left: 7px solid #3c8dbc; + padding-left: 20px; +} +article.post-entry-simple .entry-content-wrapper p { + font-size: 1.235em; + line-height: 1.5em; + text-align: left; + color: #999999 !important; +} +/* Quotes posts */ +article.type-quote .post-meta-infos > time, +article.type-quote .post-meta-infos > span { + display: none; +} +article.type-quote .post-meta-infos > span.blog-categories { + display: block; + text-indent: -1.325em; + margin-top: 1.4em; +} +article.type-quote .post-meta-infos span.blog-categories a:before { + content: "— "; +} +article.type-quote .post-meta-infos span.blog-categories a { + font-size: 1.4em; + color: #797979; + padding-left: 4px; +} +article.type-quote .entry-content-wrapper div.entry-content { + padding-left: 60px; + background: url(images/quotes.png) no-repeat 5px 0; +} +article.type-quote .entry-content-wrapper p { + font-size: 1.5em; + font-style: italic; + line-height: 1.5em; + text-align: left; + color: #999999 !important; +} +.quotes-after-loop h5 { + margin-bottom: 1em; +} +.quotes-after-loop ul { + margin: 0 0 1em; +} +.quotes-after-loop li.quote { + margin: 1.2em 0 .6em; +} +.quotes-after-loop .quote-text p { + color: #aaa; +} +.quotes-after-loop .quote-author a { + color: #797979; +} +/* EXIF info */ +p.exif > span > span { + font-weight: 700; +} +p.exif > span:after { + content: ", "; +} +p.exif > span:last-child:after { + content: "."; +} +/* Post footer */ +footer.entry-footer { + clear: both; + padding-top: 2em; +} +/* Post tags */ +.blog-tags { + visibility: hidden; + line-height: 40px; +} +.blog-tags strong { + display: none; +} +.blog-tags a { + visibility: visible; + display: block; + float: left; + padding: 0 8px; + height: 34px; + line-height: 34px; + margin-bottom: 6px; + margin-right: 8px; + font-family: Menlo,Monaco,Consolas,"Courier New",monospace; + font-size: 14px; + white-space: nowrap; + background-color: #000; +} +.blog-tags a:hover { + color: #fff; +} +/* Bottom post delimiter */ +.template-blog .post_delimiter { + margin-bottom: 30px; +} +/* Comments */ +.comment_content, +#top .commentlist .children ul { + padding-right: 18px !important; +} +.children .comment_content { + padding-right: 35px !important; +} +.comment_container h3 { + color: #e9146c; + font-size: 28px; +} +#top .comment_text { + font-size: 16px; +} +#commentform p { + padding-bottom: 5px; +} +#commentform p > input[type="text"] { + margin-bottom: 5px; +} +#commentform label { + left: 230px; + font-size: 14px; + margin-top: .2em; + line-height: 1.4em; + color: #777; +} +#commentform input[type='checkbox'] { + margin-top: 1em; +} +#commentform p.comment-form-av-privatepolicy { + margin: 0 !important; +} +#commentform p.comment-form-av-privatepolicy label, +#commentform p.comment-subscription-form label { + margin-top: 0; + font-weight: normal; +} +#commentform p.comment-form-av-privatepolicy label a { + font-weight: bold; +} +#commentform input[type='checkbox'] + label { + left: 1.6em; +} +#commentform #submit { + margin-top: 2em; + font-size: 0.85em; +} +#commentform p.form-submit { + margin: 15px 0 10px; +} +#commentform p.form-submit > input[type="submit"] { + font-size: 15px; +} + +/* + * EnlighterJS PLUGIN. + */ +div.EnlighterJSWrapper { + overflow-x: scroll; +} +ul.EnlighterJS { + padding: 12px 0 !important; + background-color: #fff !important; +} +ul.EnlighterJS li, +div.EnlighterJSWrapper pre { + white-space: pre; +} +span.EnlighterJS { + border: 0 !important; + background-color: #fffcd3 !important; +} +.EnlighterJS span { + font-size: 18px !important; +} +.wpcustomEnlighterJS span { + font-size: 24px !important; +} + +/* + * PAGES STYLES. + */ +#tag_cloud-5 a { + display: inline; + float: none; + border: 0; + padding: 2px 3px; +} + +/* + * WIDGETS. + */ +.widget { + padding-bottom: 15px; +} +.widget_nav_menu .nested_nav > li > a:before, +h3.widgettitle:before { + content: "//"; + margin-left: -18px; + position: absolute; +} +.widget_nav_menu .nested_nav > li > a, +h3.widgettitle { + margin: 0 0 14px !important; + padding: 5px 5px 5px 23px !important; + color: #eee !important; + background-color: #556372; + font-weight: normal !important; + font-size: 18px; + line-height: 23px; + text-transform: none; +} +.widget_nav_menu .nested_nav > li > a { + font-family: "Lato", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; + letter-spacing: 1px; +} +.widget_nav_menu .nested_nav > li { + display: none; +} +.widget_nav_menu .nested_nav > li.current_page_item, +.widget_nav_menu .nested_nav > li.current_page_ancestor { + display: block; +} + +/* + * List items widgets. + */ +ul.dpe-flexible-posts li { + list-style-type: none; + list-style-image: none; + margin-left: 0 !important; + margin-bottom: 8px; + text-align: left; +} +ul.dpe-flexible-posts li img { + float: left; + margin-right: 10px; + width: 50px; + height: 50px; + /* Grayscale for image */ + filter: gray; /* IE6-9 */ + filter: grayscale(1); /* Microsoft Edge and Firefox 35+ */ + -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */ +} +ul.dpe-flexible-posts li a:hover img, +ul.dpe-flexible-posts a.active img, +ul.dpe-flexible-photos-footer li a:hover img, +ul.dpe-flexible-photos-footer a.active img { + /* Disable grayscale on hover */ + filter: none; + -webkit-filter: grayscale(0); + /* Soft transition */ + -webkit-transition: .4s -webkit-filter linear; + -moz-transition: .4s -moz-filter linear; + -moz-transition: .4s filter linear; + -o-transition: .4s -o-filter linear; + -ms-transition: .4s -ms-filter linear; + transition: .4s filter linear; +} +ul.dpe-flexible-posts li p.meta { + font-weight: normal; + font-style: italic; + font-size: 12px; + color: #e58a28; + line-height: 1.2em; + text-align: left; + margin-top: 6px; +} +ul.dpe-flexible-posts li img + h4, +ul.dpe-flexible-posts li img + h4 + p.meta { + margin-left: 60px; +} +ul.dpe-flexible-posts a { + text-decoration: none; +} +ul.dpe-flexible-posts a h4 { + color: #3c8dbc; + margin-top: 0; +} +ul.dpe-flexible-posts a h4:hover, +ul.dpe-flexible-posts a h4:focus, +ul.dpe-flexible-posts a.active h4 { + color: #f70a0a; + -webkit-transition: color .3s; + -moz-transition: color .3s; + -o-transition: color .3s; + -ms-transition: color .3s; + transition: color .3s; +} +/* Notes widget */ +ul.dpe-flexible-posts.list-notes li img { + width: 70px; + height: 70px; + border-radius: 5px; +} +ul.dpe-flexible-posts.list-notes li img + h4, +ul.dpe-flexible-posts.list-notes li img + h4 + p.meta { + margin-left: 80px; +} +/* Blogroll widget */ +ul.dpe-flexible-posts.list-blogroll li img { + width: 60px; + height: 60px; + border-radius: 30px; +} +ul.dpe-flexible-posts.list-blogroll li img + h4, +ul.dpe-flexible-posts.list-blogroll li img + h4 + p.meta { + margin-left: 70px; +} + +/* + * Photos widgets. + */ +ul.dpe-flexible-photos li { + list-style-type: none; + list-style-image: none; + width: 45%; + margin: 0 2.5%; + clear: none; +} +ul.dpe-flexible-photos li a { + display: inline-block; + width: 100%; + height: auto; +} +ul.dpe-flexible-photos li img, +ul.dpe-flexible-photos-footer li img { + display: block; + /* Grayscale for image */ + filter: gray; /* IE6-9 */ + filter: grayscale(.75); /* Microsoft Edge and Firefox 35+ */ + -webkit-filter: grayscale(.75); /* Google Chrome, Safari 6+ & Opera 15+ */ +} +#dpe_fp_widget-18 { + width: 100%; + height: 105px; + margin: 14px 0 0 !important; +} +ul.dpe-flexible-photos-footer { + width: 1400px !important; +} +ul.dpe-flexible-photos-footer li { + width: auto; + clear: none; + float: none; + display: inline-block; + margin-top: 6px; + margin-right: 15px; +} +ul.dpe-flexible-photos-footer li a { + display: block; + border: 6px solid #d0ceba; + -webkit-transition: border .3s; + -moz-transition: border .3s; + -o-transition: border .3s; + -ms-transition: border .3s; + transition: border .3s; +} +ul.dpe-flexible-photos-footer li a:hover { + border: 6px solid #fff; +} +a.dpe-flexible-photos-link { + display: block; + width: 30px; + height: 105px; + position: absolute; + right: 0; + background: transparent url(images/list-photoblog.png) no-repeat left 0; + overflow: hidden; + z-index: 10; +} +a.dpe-flexible-photos-link:hover { + background-position: -30px 0; +} + +/* + * Conversations widget. + */ +.widget_recent_comments li.recentcomments { + margin-left: 0; +} + +/* + * Quotes widgets. + */ +#quotes .av_one_half { + padding-top: 24px; + padding-left: 160px; + background: transparent url(images/quotes-es.png) no-repeat 14px 32px; +} +#quotes .av_one_half + .av_one_half { + background-image: url(images/quotes-en.png); +} +#quotes .av_one_half .widget { + padding: 0 !important; +} +.quote-text { + font: italic 1.2em Georgia, "Times New Roman", Times, serif; +} +.quote-text, +.quote-text p { + color: #ccc; + text-align: left; + margin: .1em 0 .4em; +} +.quote-text p { + margin: 0 !important; +} +.quote-author p { + color: #999; + text-align: left; + font-size: .88em; + font-weight: 300; + margin-bottom: .8em; + margin-left: 8px; +} +.quote-author a { + color: #fff; +} +.quote-author a:hover { + color: #f70a0a; +} + +body.tax-quote_author_tag .quote-text, +body.tax-quote_author_tag .quote-text p { + color: #999; + margin-top: 1.4em; + margin-left: 1.2em; +} +body.tax-quote_author_tag .quote-author p { + margin-left: 2.8em; +} +body.tax-quote_author_tag .quote-author a { + color: #ccc; + font-weight: 400; +} +body.tax-quote_author_tag .quote-author a:hover { + color: #f70a0a; +} + +/* + * Métrica 3 widget. + */ +#text-2 { + font-size: 15px; + line-height: 1.4em; + text-align: justify; +} +#text-2 a { + color: #3c8dbc; +} +#text-2 a:hover { + color: #ff3300; + text-decoration: none; +} + +/* + * FOOTER. + */ +#quotes > .container { + padding-bottom: 50px; + background: transparent url(images/bg-footer.png) no-repeat 100% bottom; +} +#socket .container { + padding-top: 8px; + padding-bottom: 3.6em; +} +#legal { + position: absolute; + margin-top: 2.8em; + line-height: 1.6em; +} +#legal a { + color: #ffbf00; + font-weight: 400; + font-size: 14px; +} + +/* + * MISCELANEAN. + */ +#scroll-top-link { + cursor: pointer; + color: #e1e1e1 !important; + border-color: #aaa !important; + font-size: 36px; + background: rgba(85,99,114,0.3); + transition-property: background-color; + transition-duration: .5s; + transition-timing-function: ease; + transition-delay: 0s; + opacity: 1 !important; +} +#scroll-top-link:hover { + background-color: #000; +} + +.av-image-caption-overlay-center p { + text-align: center !important; +} + +/* More link */ +.more-link { + clear: both; + display: block; + padding: 8px 0; + width: 134px; + text-align: center; + margin: 14px 0 0; + border-radius: 4px; + border-style: solid; + border-width: 1px; +} +/* Social icons size and decoration */ +.social_bookmarks li { + font-size: 20px; +} +.social_bookmarks li a { + text-decoration: none; +} +.av-share-box ul li a { + font-size: 18px; +} +#top #wrap_all .av-social-link-github:hover a, +#top #wrap_all .av-social-link-gitlab:hover a { + color: #fff; + background-color: #bd2c00; +} +/* Search box adjustment */ +#top #s, +#top #searchsubmit { + height: 44px; + line-height: 44px; +} +#top #searchsubmit { + width: 44px; +} +/* Disable uppercase in icon box titles */ +.iconbox .iconbox_content .iconbox_content_title { + text-transform: none; +} + +/* + * RESPONSIVE MEDIA QUERIES. + */ +@media (min-width: 768px) and (max-width: 1399px) { + /* Home page list notes */ + #dpe_fp_widget-9 ul.list-notes > li:last-child { + display: none; + } +} +@media (min-width: 768px) and (max-width: 1299px) { + /* Home page list notes */ + #dpe_fp_widget-9 ul.list-notes > li + li + li + li { + display: none; + } + /* Quotes widgets */ + #quotes > .container { + background-position: 92% bottom; + } +} +@media (min-width: 768px) and (max-width: 1099px) { + /* Home page list notes */ + #dpe_fp_widget-9 ul.list-notes > li img { + display: none; + } + #dpe_fp_widget-9 ul.list-notes > li img + h4, + #dpe_fp_widget-9 ul.list-notes > li img + h4 + p.meta { + margin-left: 0 !important; + } +} +@media (min-width: 768px) and (max-width: 929px) { + /* List items widgets */ + ul.dpe-flexible-posts li img { + display: none; + } + ul.dpe-flexible-posts li img + h4, + ul.dpe-flexible-posts li img + h4 + p.meta { + margin-left: 0 !important; + } + /* Home page list notes */ + #dpe_fp_widget-9 ul.list-notes > li + li + li { + display: none; + } + /* Métrica 3 widget */ + #text-2 { + text-align: left; + } +} +@media (max-width: 767px) { + /* LAYOUT */ + .responsive #top #wrap_all .container { + width: 92%; + max-width: 92%; + } + .responsive #top #header .social_bookmarks { + display: block !important; + } + div.container_wrap_first { + background: #fff; + } + #avia2-menu { + display: none; + } + .av_icon_active_right .social_bookmarks { + padding-left: 0; + } + /* Breadcrumb */ + .title_container .breadcrumb { + margin-top: .7em !important; + } + /* Responsive tables */ + div .avia-table { + width: 700px; + } + div .avia-table td { + white-space: normal !important; + } + /* Photos widget */ + ul.dpe-flexible-photos li { + width: 31.3%; + margin: 0 1%; + } +} +@media (max-width: 567px) { + /* LAYOUT */ + .av-masonry-pagination .pagination-meta { + display: none; + } + /* Left align for small devices */ + .entry-content-wrapper p { + text-align: left; + } + /* Quotes widgets */ + #quotes .av_one_half { + padding-top: 80px; + padding-left: 10px; + background-position: 6px 28px; + } + /* Comments */ + #commentform p.comment-form-av-privatepolicy, + #commentform p.comment-subscription-form { + margin: 10px 0 !important; + } +} +@media (max-width: 399px) { + /* Footer */ + #socket .social_bookmarks { + display: none; + } +}