Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block noellesteegs

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
noellesteegs / 12-point-star.css
Created Dec 10, 2019
Style WooCommerce price on single product pages into a star burst shape
View 12-point-star.css
body.single-product p.price {
color: #FFFFFF;
line-height: 80px; /* vertically aligns the price within the star */
font-size: 1.375rem;
#burst-12 {
background: #FA7268;
width: 80px;
height: 80px;
text-align: center;
noellesteegs / styled-checkboxes.css
Created Sep 13, 2019
Replace default HTML checkboxes with Font Awesome icons
View styled-checkboxes.css
input, input::before {
margin: 0px !important;
top: 0px;
label {
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
noellesteegs / content-below-product-price.php
Created Aug 26, 2019
Add content below price @ WooCommerce single product
View content-below-product-price.php
add_action( 'woocommerce_single_product_summary', 'content_below_price', 15 );
function content_below_price() {
echo 'TEST';
noellesteegs / single-product-category-notice.php
Last active Aug 26, 2019
Add text above cart form @ WooCommerce single product if in particular category
View single-product-category-notice.php
add_action( 'woocommerce_before_add_to_cart_form', 'category_notice' );
function category_notice() {
if (has_term('accessories', 'product_cat')) { // Replace 'accessories' with your category
echo '<div class="category_notice"><p>This is a notice.</p></div>';
noellesteegs / sale-badge-text.php
Last active Aug 23, 2019
Change text of WooCommerce sale badge
View sale-badge-text.php
add_filter( 'woocommerce_sale_flash', 'edit_sale_badge_text' );
function edit_sale_badge_text() {
return '<span class="onsale">Buy me!</span>';
noellesteegs / storefront-footer-text.php
Last active Aug 26, 2019
Add test text @ Storefront footer
View storefront-footer-text.php
You can’t perform that action at this time.