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 ezdump($variable){ | |
echo '<pre>' . print_r($variable, true) . '</pre>'; | |
} | |
$dataPoints1 = array(); | |
function logToData($logname){ | |
$logdata = file($logname); | |
$first = null; | |
foreach($logdata as $lineNumber => $logline){ | |
$logline = explode(" " , $logline); |
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
boldgrid-diced/woocommerce/archive-product.php, | |
boldgrid-diced/woocommerce/cart/cart-empty.php version 3.5.0 is out of date. The core version is 7.0.1, | |
boldgrid-diced/woocommerce/cart/cart.php version 3.8.0 is out of date. The core version is 7.9.0, | |
boldgrid-diced/woocommerce/cart/proceed-to-checkout-button.php version 2.4.0 is out of date. The core version is 7.0.1, | |
boldgrid-diced/woocommerce/checkout/cart-errors.php, | |
boldgrid-diced/woocommerce/checkout/form-coupon.php version 3.4.4 is out of date. The core version is 7.0.1, | |
boldgrid-diced/woocommerce/checkout/payment-method.php, | |
boldgrid-diced/woocommerce/checkout/payment.php version 3.5.3 is out of date. The core version is 8.1.0, | |
boldgrid-diced/woocommerce/global/breadcrumb.php, | |
boldgrid-diced/woocommerce/global/form-login.php version 3.6.0 is out of date. The core version is 7.0.1, |
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
function removeCSSVariableAndChangeColor() { | |
const selector = ".woocommerce div.product p.price"; | |
const elements = document.querySelectorAll(selector); | |
elements.forEach(element => { | |
// Remove the CSS variable | |
element.style.removeProperty('--color-1'); | |
// Change the color to #b3af54; | |
element.style.color = '#b3af54'; | |
}); |
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 | |
// Do Not Copy the <?php tag above. | |
/* add white-space breaking to buttons */ | |
.btn { | |
white-space: normal !important; | |
} | |
/* order details text over flow fix */ | |
.entry-content .woocommerce-order-details > .woocommerce-table{ |
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 | |
while (have_posts()) { | |
the_post(); ?> | |
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> | |
<?php the_content(); ?> | |
<hr> | |
<?php } | |
?> |
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
define('WP_DEBUG', 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
.parent-class .child-class { | |
/* Styles applied to elements with class="child-class" within elements with class="parent-class" */ | |
} |
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
#my-id { | |
/* Styles applied to the element with id="my-id" */ | |
} |
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
.my-class { | |
/* Styles applied to elements with class="my-class" */ | |
} |
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
p { | |
/* Styles applied to all <p> elements */ | |
} |
NewerOlder