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 | |
/** | |
* jetwoodie_plugins_affected_by function | |
* | |
* @param [type] $rules | |
* @return void | |
*/ | |
function jetwoodie_plugins_affected_by($rules) | |
{ | |
$affected = array(); |
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
.select2-container { | |
box-sizing: border-box; | |
display: inline-block; | |
margin: 0; | |
position: relative; | |
vertical-align: middle | |
} | |
.select2-container .select2-selection--single { | |
box-sizing: border-box; |
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 | |
function replace_variation_single_price() | |
{ | |
?> | |
<style> | |
.woocommerce-variation-price { | |
display: none; | |
} | |
</style> |
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
.jet-sorting-select { | |
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234a4a4a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); | |
background-repeat: no-repeat; | |
background-position: right 0.75rem center; | |
background-size: 16px 12px; | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
appearance: none; | |
} |
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 | |
/** | |
* Single Product Rating | |
* | |
* This template can be overridden by copying it to yourtheme/woocommerce/single-product/rating.php. | |
* | |
* HOWEVER, on occasion WooCommerce will need to update template files and you | |
* (the theme developer) will need to copy the new files to your theme to | |
* maintain compatibility. We try to do this as little as possible, but it does | |
* happen. When this occurs the version of the template file will be bumped and |
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
add_filter('wc_stripe_load_scripts_on_product_page_when_prbs_disabled', '__return_false'); | |
add_filter('wc_stripe_load_scripts_on_cart_page_when_prbs_disabled', '__return_false'); |
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 | |
//https://hellowp.club/hu/wordpress-telepitese-konnyeden-egy-telepito-fajl-segitsegevel/ | |
echo '<pre>'; | |
echo '<span style="color:blue">LETÖLTÉS...</span>'.PHP_EOL; | |
file_put_contents('wp.zip', file_get_contents('https://hu.wordpress.org/latest-hu_HU.zip')); | |
$zip = new ZipArchive(); |
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 | |
// Domains from which exceptions would be accepted. | |
$trademark_exceptions = array( | |
'yoast.com' => array( 'yoast' ), | |
'automattic.com' => array( 'akismet', 'akismet-', 'jetpack', 'jetpack-', 'wordpress', 'wp-', 'woo', 'woo-', 'woocommerce', 'woocommerce-' ), | |
'facebook.com' => array( 'facebook', 'instagram', 'oculus', 'whatsapp' ), | |
'support.microsoft.com' => array( 'bing-', 'microsoft-' ), | |
'trustpilot.com' => array( 'trustpilot' ), | |
'microsoft.com' => array( 'bing-', 'microsoft-' ), |
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 | |
// Place this function in the WP-CONFIG.PHP file. | |
function wp_mail(){} |
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
body>*:not(.elementor-page) article { | |
background-color: #212121; | |
padding: 20px; | |
margin-top: 20px; | |
} | |
body>*:not(.elementor-page) h1.page-title { | |
font-family: "Archivo Black", Sans-serif; | |
font-size: 38px; | |
text-transform: uppercase; |