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
{ | |
"version": 1, | |
"settings": { | |
"color": { | |
"custom": false, | |
"customGradient": false, | |
"gradients": [], | |
"link": false, | |
"palette": [ | |
{ |
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
/* Flexbox Columns */ | |
.flex-columns { | |
display: -ms-flexbox; | |
display: -webkit-flex; | |
display: flex; | |
-webkit-flex-direction: row; | |
-ms-flex-direction: row; | |
flex-direction: row; | |
-webkit-flex-wrap: nowrap; |
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
/* Flexbox Columns */ | |
.flex-columns { | |
display: -ms-flexbox; | |
display: -webkit-flex; | |
display: flex; | |
-webkit-flex-direction: row; | |
-ms-flex-direction: row; | |
flex-direction: row; | |
-webkit-flex-wrap: nowrap; |
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 | |
/* | |
Plugin Name: My WP Custom Block Patterns | |
Description: Adds a custom block pattern to the Gutenberg block editor. | |
Version: 1.0 | |
Author: Eric Karkovack | |
Author URI: https://www.speckyboy.com | |
*/ |
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 Custom Colors on the Front End */ | |
/* white */ | |
.has-white-color { | |
color:#FFFFFF; | |
} | |
.has-white-background-color { | |
background-color:#FFFFFF; | |
} |
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 | |
/* | |
Plugin Name: WooCommerce Order Surcharge - Percentage | |
Plugin URI: https://www.karks.com | |
Description: Adds a percentage-based surcharge to every order. Based on WooCommerce Snippet: https://docs.woocommerce.com/document/add-a-surcharge-to-cart-and-checkout-uses-fees-api/ | |
Version: 1.0 | |
Author: Eric Karkovack | |
Author URI: https://www.karks.com | |
*/ |
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 | |
/* | |
Plugin Name: WooCommerce Order Surcharge | |
Plugin URI: https://www.karks.com | |
Description: Adds a flat surcharge to every order. Based on WooCommerce Snippet: https://docs.woocommerce.com/document/add-a-surcharge-to-cart-and-checkout-uses-fees-api/ | |
Version: 1.0 | |
Author: Eric Karkovack | |
Author URI: https://www.karks.com | |
Code culled from https://docs.woocommerce.com/document/add-a-surcharge-to-cart-and-checkout-uses-fees-api/ |
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
<div style="margin:30px auto; padding:5px 10px; background:<?php block_field( 'background-color' ); // Background Color (Color Field) ?>"> | |
<span style="color:<?php block_field( 'text-color' ); // Text Color (Color Field) ?>"><?php block_field( 'message' ); // Message (Text Field) ?></span> | |
</div> |
NewerOlder