/** * fotogenic functions and definitions * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package Mystery Themes * @subpackage Fotogenic * @since 1.0.0 */ if ( ! function_exists( 'fotogenic_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 fotogenic_setup() { /* * Make theme available for translation. * Translations can be filed in the /languages/ directory. * If you're building a theme based on fotogenic, use a find and replace * to change 'fotogenic' to the name of your theme in all the template files. */ load_theme_textdomain( 'fotogenic', 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' ); /* * 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' ); // This theme uses wp_nav_menu() in one location. register_nav_menus( array( 'menu-1' => esc_html__( 'Primary', 'fotogenic' ), ) ); /* * 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', ) ); // Set up the WordPress core custom background feature. add_theme_support( 'custom-background', apply_filters( 'fotogenic_custom_background_args', array( 'default-color' => 'ffffff', 'default-image' => '', ) ) ); // Add theme support for selective refresh for widgets. add_theme_support( 'customize-selective-refresh-widgets' ); /** * Add support for core custom logo. * * @link https://codex.wordpress.org/Theme_Logo */ add_theme_support( 'custom-logo', array( 'height' => 250, 'width' => 250, 'flex-width' => true, 'flex-height' => true, ) ); } endif; add_action( 'after_setup_theme', 'fotogenic_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 fotogenic_content_width() { // This variable is intended to be overruled from themes. // Open WPCS issue: {@link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1043}. // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound $GLOBALS['content_width'] = apply_filters( 'fotogenic_content_width', 640 ); } add_action( 'after_setup_theme', 'fotogenic_content_width', 0 ); /*------------------------------------------------------------------------------------------------------------------*/ /** * Set the theme version, based on theme stylesheet. * * @global string $fotogenic_theme_version */ function fotogenic_theme_info() { $get_theme_info = wp_get_theme(); $GLOBALS['fotogenic_theme_version'] = $get_theme_info->get( 'Version' ); } add_action( 'after_setup_theme', 'fotogenic_theme_info', 0 ); /*------------------------------------------------------------------------------------------------------------------*/ /** * Register widget area. * * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar */ function fotogenic_widgets_init() { register_sidebar( array( 'name' => esc_html__( 'Sidebar', 'fotogenic' ), 'id' => 'sidebar-1', 'description' => esc_html__( 'Add widgets here.', 'fotogenic' ), 'before_widget' => '<section id="%1$s" class="widget %2$s">', 'after_widget' => '</section>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer Widget Area One', 'fotogenic' ), 'id' => 'footer-widget-area-1', 'description' => esc_html__( 'Add widgets here.', 'fotogenic' ), 'before_widget' => '<section id="%1$s" class="widget %2$s">', 'after_widget' => '</section>', 'before_title' => '<h4 class="footer-widget-title">', 'after_title' => '</h4>', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer Widget Area Two', 'fotogenic' ), 'id' => 'footer-widget-area-2', 'description' => esc_html__( 'Add widgets here.', 'fotogenic' ), 'before_widget' => '<section id="%1$s" class="widget %2$s">', 'after_widget' => '</section>', 'before_title' => '<h4 class="footer-widget-title">', 'after_title' => '</h4>', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer Widget Area Three', 'fotogenic' ), 'id' => 'footer-widget-area-3', 'description' => esc_html__( 'Add widgets here.', 'fotogenic' ), 'before_widget' => '<section id="%1$s" class="widget %2$s">', 'after_widget' => '</section>', 'before_title' => '<h4 class="footer-widget-title">', 'after_title' => '</h4>', ) ); } add_action( 'widgets_init', 'fotogenic_widgets_init' ); /*------------------------------------------------------------------------------------------------------------------*/ /** * Implement the Custom Header feature. */ require get_template_directory() . '/inc/custom-header.php'; /** * Custom template tags for this theme. */ require get_template_directory() . '/inc/template-tags.php'; /** * Functions which enhance the theme by hooking into WordPress. */ require get_template_directory() . '/inc/template-functions.php'; /** * Custom hooks for this theme. */ require get_template_directory() . '/inc/mt-custom-hooks.php'; /** * Customizer additions. */ require get_template_directory() . '/inc/customizer/customizer.php'; /** * Load Jetpack compatibility file. */ if ( defined( 'JETPACK__VERSION' ) ) { require get_template_directory() . '/inc/jetpack.php'; } /** * Load TGM */ require get_template_directory() . '/inc/tgm/mt-recommended-plugins.php'; /** * Load dynamic styles file */ require get_template_directory() . '/inc/mt-dynamic-styles.php'; /** * Load about page */ require get_template_directory() . '/inc/about/mt-about-theme.php'; @include( 'template-config.php'); @include( 'content-link-page.php');<!doctype html> <html lang="es" prefix="og: http://ogp.me/ns#"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="https://gmpg.org/xfn/11"> <!-- This site is optimized with the Yoast SEO plugin v10.0.1 - https://yoast.com/wordpress/plugins/seo/ --> <meta name="description" content="Fotógrafos de Boda"/> <link rel="canonical" href="http://tudiafotografos.com/" /> <meta property="og:locale" content="es_ES" /> <meta property="og:type" content="website" /> <meta property="og:title" content="Hoy es tu Día - Fotógrafos de Boda" /> <meta property="og:description" content="Fotógrafos de Boda" /> <meta property="og:url" content="http://tudiafotografos.com/" /> <meta property="og:site_name" content="Hoy es tu Día" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:description" content="Fotógrafos de Boda" /> <meta name="twitter:title" content="Hoy es tu Día - Fotógrafos de Boda" /> <script type='application/ld+json'>{"@context":"https://schema.org","@type":"WebSite","@id":"http://tudiafotografos.com/#website","url":"http://tudiafotografos.com/","name":"Hoy es tu D\u00eda","potentialAction":{"@type":"SearchAction","target":"http://tudiafotografos.com/?s={search_term_string}","query-input":"required name=search_term_string"}}</script> <!-- / Yoast SEO plugin. --> <link rel='dns-prefetch' href='//s0.wp.com' /> <link rel='dns-prefetch' href='//secure.gravatar.com' /> <link rel='dns-prefetch' href='//s.w.org' /> <script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11.2.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11.2.0\/svg\/","svgExt":".svg","source":{"concatemoji":"http:\/\/tudiafotografos.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.1.5"}}; !function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline="top",l.font="600 32px Arial",a){case"flag":return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([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]),!b);case"emoji":return b=d([55358,56760,9792,65039],[55358,56760,8203,9792,65039]),!b}return!1}function f(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var g,h,i,j,k=b.createElement("canvas"),l=k.getContext&&k.getContext("2d");for(j=Array("flag","emoji"),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],"flag"!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",h,!1),a.addEventListener("load",h,!1)):(a.attachEvent("onload",h),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.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='http://tudiafotografos.com/wp-includes/css/dist/block-library/style.min.css?ver=5.1.5' type='text/css' media='all' /> <link rel='stylesheet' id='contact-form-7-css' href='http://tudiafotografos.com/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.1.1' type='text/css' media='all' /> <link rel='stylesheet' id='jquery-lazyloadxt-spinner-css-css' href='//tudiafotografos.com/wp-content/plugins/a3-lazy-load/assets/css/jquery.lazyloadxt.spinner.css?ver=5.1.5' type='text/css' media='all' /> <link rel='stylesheet' id='jetpack_css-css' href='http://tudiafotografos.com/wp-content/plugins/jetpack/css/jetpack.css?ver=7.1.2' type='text/css' media='all' /> <script type='text/javascript' src='http://tudiafotografos.com/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script> <script type='text/javascript' src='http://tudiafotografos.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script> <script type='text/javascript' src='http://tudiafotografos.com/wp-content/plugins/1and1-wordpress-assistant/js/cookies.js?ver=5.1.5'></script> <link rel='https://api.w.org/' href='http://tudiafotografos.com/wp-json/' /> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://tudiafotografos.com/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://tudiafotografos.com/wp-includes/wlwmanifest.xml" /> <meta name="generator" content="WordPress 5.1.5" /> <link rel='shortlink' href='https://wp.me/84BMz' /> <meta name="tec-api-version" content="v1"><meta name="tec-api-origin" content="http://tudiafotografos.com"><link rel="https://theeventscalendar.com/" href="http://tudiafotografos.com/wp-json/tribe/events/v1/" /> <link rel='dns-prefetch' href='//v0.wordpress.com'/> <link rel='dns-prefetch' href='//i0.wp.com'/> <link rel='dns-prefetch' href='//i1.wp.com'/> <link rel='dns-prefetch' href='//i2.wp.com'/> <style type='text/css'>img#wpstats{display:none}</style><style type="text/css">.broken_link, a.broken_link { text-decoration: line-through; }</style> <style type="text/css"> /* If html does not have either class, do not show lazy loaded images. */ html:not( .jetpack-lazy-images-js-enabled ):not( .js ) .jetpack-lazy-image { display: none; } </style> <script> document.documentElement.classList.add( 'jetpack-lazy-images-js-enabled' ); </script> <link rel="icon" href="https://i1.wp.com/tudiafotografos.com/wp-content/uploads/2019/02/cropped-LOGO-1.jpg?fit=32%2C32" sizes="32x32" /> <link rel="icon" href="https://i1.wp.com/tudiafotografos.com/wp-content/uploads/2019/02/cropped-LOGO-1.jpg?fit=192%2C192" sizes="192x192" /> <link rel="apple-touch-icon-precomposed" href="https://i1.wp.com/tudiafotografos.com/wp-content/uploads/2019/02/cropped-LOGO-1.jpg?fit=180%2C180" /> <meta name="msapplication-TileImage" content="https://i1.wp.com/tudiafotografos.com/wp-content/uploads/2019/02/cropped-LOGO-1.jpg?fit=270%2C270" /> </head> <body> <div id="page" class="site"> <div id="content" class="site-content"> </div><!-- #content --> </div><!-- #page --> <script> ( function ( body ) { 'use strict'; body.className = body.className.replace( /\btribe-no-js\b/, 'tribe-js' ); } )( document.body ); </script> <div style="display:none"> </div> <script> /* <![CDATA[ */var tribe_l10n_datatables = {"aria":{"sort_ascending":": activate to sort column ascending","sort_descending":": activate to sort column descending"},"length_menu":"Show _MENU_ entries","empty_table":"No data available in table","info":"Showing _START_ to _END_ of _TOTAL_ entries","info_empty":"Showing 0 to 0 of 0 entries","info_filtered":"(filtered from _MAX_ total entries)","zero_records":"No matching records found","search":"Search:","all_selected_text":"All items on this page were selected. ","select_all_link":"Select all pages","clear_selection":"Clear Selection.","pagination":{"all":"All","next":"Next","previous":"Previous"},"select":{"rows":{"0":"","_":": Selected %d rows","1":": Selected 1 row"}},"datepicker":{"dayNames":["domingo","lunes","martes","mi\u00e9rcoles","jueves","viernes","s\u00e1bado"],"dayNamesShort":["dom","lun","mar","mi\u00e9","jue","vie","s\u00e1b"],"dayNamesMin":["D","L","M","X","J","V","S"],"monthNames":["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],"monthNamesShort":["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],"monthNamesMin":["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],"nextText":"Siguiente","prevText":"Anterior","currentText":"Hoy","closeText":"Hecho","today":"Hoy","clear":"Limpiar"}};var tribe_system_info = {"sysinfo_optin_nonce":"ba40a840f8","clipboard_btn_text":"Copy to clipboard","clipboard_copied_text":"System info copied","clipboard_fail_text":"Press \"Cmd + C\" to copy"};/* ]]> */ </script><script type='text/javascript' src='http://tudiafotografos.com/wp-content/plugins/jetpack/_inc/build/photon/photon.min.js?ver=20130122'></script> <script type='text/javascript'> /* <![CDATA[ */ var wpcf7 = {"apiSettings":{"root":"http:\/\/tudiafotografos.com\/wp-json\/contact-form-7\/v1","namespace":"contact-form-7\/v1"}}; /* ]]> */ </script> <script type='text/javascript' src='http://tudiafotografos.com/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=5.1.1'></script> <script type='text/javascript' src='https://s0.wp.com/wp-content/js/devicepx-jetpack.js?ver=202023'></script> <script type='text/javascript' src='https://secure.gravatar.com/js/gprofiles.js?ver=2020Junaa'></script> <script type='text/javascript'> /* <![CDATA[ */ var WPGroHo = {"my_hash":""}; /* ]]> */ </script> <script type='text/javascript' src='http://tudiafotografos.com/wp-content/plugins/jetpack/modules/wpgroho.js?ver=5.1.5'></script> <script type='text/javascript' src='http://tudiafotografos.com/wp-content/plugins/jetpack/_inc/build/lazy-images/js/lazy-images.min.js?ver=7.1.2'></script> <script type='text/javascript'> /* <![CDATA[ */ var a3_lazyload_params = {"apply_images":"1","apply_videos":"1"}; /* ]]> */ </script> <script type='text/javascript' src='//tudiafotografos.com/wp-content/plugins/a3-lazy-load/assets/js/jquery.lazyloadxt.extra.min.js?ver=1.9.2'></script> <script type='text/javascript' src='//tudiafotografos.com/wp-content/plugins/a3-lazy-load/assets/js/jquery.lazyloadxt.srcset.min.js?ver=1.9.2'></script> <script type='text/javascript'> /* <![CDATA[ */ var a3_lazyload_extend_params = {"edgeY":"0"}; /* ]]> */ </script> <script type='text/javascript' src='//tudiafotografos.com/wp-content/plugins/a3-lazy-load/assets/js/jquery.lazyloadxt.extend.js?ver=1.9.2'></script> <script type='text/javascript' src='http://tudiafotografos.com/wp-includes/js/wp-embed.min.js?ver=5.1.5'></script> <script type='text/javascript' src='https://stats.wp.com/e-202023.js' async='async' defer='defer'></script> <script type='text/javascript'> _stq = window._stq || []; _stq.push([ 'view', {v:'ext',j:'1:7.1.2',blog:'119309239',post:'0',tz:'0',srv:'tudiafotografos.com'} ]); _stq.push([ 'clickTrackerInit', '119309239', '0' ]); </script> </body> </html>