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
.thumb { | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%,-50%); | |
width: 170px; | |
height: 170px; | |
@media(max-width: 768px){ | |
width: 50px; | |
height: 50px; |
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
.blocked | |
{ | |
position:relative; | |
} | |
.blocked:after | |
{ | |
content: ''; | |
position: absolute; | |
left:0; | |
right:0; |
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
/** | |
* WordPress Plugin: Masks Form Fields v1.2 - https://wordpress.org/plugins/masks-form-fields/ | |
* PHP - Custom script to add mask in input phone the WooCommerce. /wp-content/themes/YOUR-THEME/functions.php | |
*/ | |
add_action('wp_footer', function () {echo "<script type=\"text/javascript\">jQuery(document).ready(function($){ $(\"input[name='billing_phone']\").mask('(000) 000-0000'); });</script>";}, 111); | |
/** | |
* WordPress Plugin: Masks Form Fields v1.2 - https://wordpress.org/plugins/masks-form-fields/ | |
* JavaScript - Custom script to add mask in input phone the WooCommerce. | |
*/ |
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 | |
/* | |
Plugin Name: WooCommerce Custom Account Fields | |
Plugin URI: https://iconicwp.com/blog/the-ultimate-guide-to-adding-custom-woocommerce-user-account-fields/ | |
Description: Add custom WooCommerce user account fields. | |
Author: Iconic | |
Version: 1.0.0 | |
Author URI: https://iconicwp.com/products/ | |
*/ |
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 include 'wp-load.php'; | |
//$user = get_user_by( 'email', '[email protected]' ); | |
$user = get_user_by( 'slug', 'usuario' ); | |
//$user = get_user_by( 'login', 'usuario' ); | |
wp_set_password( "new_password", $user->ID ); | |
// Just use ID=1 for the super admin account | |
wp_set_password( "new_password", 1 ); | |
NewerOlder