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
/** | |
* @param $interval - The interval between each delay, defaults to 500ms | |
* @param $startTime - The start time of the animations, defaults to 0ms | |
* @param $numberOfDelays - The total number of delays to be generated, defaults to 10 | |
*/ | |
@mixin delays($interval: 500, $startTime: 0, $numberOfDelays: 10) { | |
@for $i from 0 through $numberOfDelays { | |
$ms : $startTime + ($i * $interval); | |
&.delay-#{$ms} { | |
animation-delay: #{$ms}ms; |
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
/** | |
* Plugin Name: Gravity Forms: Move Progress Bar to Bottom of Form | |
* Plugin URI: http://www.n7studios.co.uk | |
* Version: 1.0.1 | |
* Author: n7 Studios | |
* Author URI: http://www.n7studios.co.uk | |
* Description: Moves the progress bar from the top to the bottom of the Gravity Form. The Start Paging section of the form MUST have a CSS class = progress-bar-bottom | |
*/ | |
/** |
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
/* Convert the standard WooCommerce products list into a modern responsive grid. */ | |
ul.products { | |
--grid-gap: 32px; | |
--auto-grid-min-size: 200px; | |
grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr)); | |
grid-gap: var(--grid-gap); | |
display: grid; | |
} | |
ul.products:before{ | |
content:unset!important; |
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
Commands | |
-------------- | |
Wordpress Download = wp core download | |
Config.php file create = wp config create --dbname=database_name --dbuser=database_username --dbpass=database_password | |
Wordpress Install = wp core install --url=example.com --title=Example --admin_user=supervisor --admin_password=strongpassword [email protected] | |
Theme or Plugin Install = wp theme/plugin install theme_slug/plugin_slug | |
Theme or Plugin Activate = wp theme/plugin activate theme_slug/plugin_slug | |
Theme or Plugin Install & Activate = wp theme/plugin install theme_slug/plugin_slug --activate |
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 | |
function add_elementor_widget_categories( $elements_manager ) { | |
$categories = []; | |
$categories['oceanic'] = | |
[ | |
'title' => 'Oceanic Widgets', | |
'icon' => 'fa fa-plug' | |
]; |
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
/* Convert the standard WooCommerce products list into a modern responsive grid. */ | |
ul.products { | |
--grid-gap: 32px; | |
--auto-grid-min-size: 200px; | |
grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr)); | |
grid-gap: var(--grid-gap); | |
display: grid; | |
} | |
ul.products:before{ | |
content:unset!important; |
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 | |
/* | |
* Exclude & Include in group control | |
*/ | |
$this->add_group_control( | |
Group_Control_Background::get_type(), | |
[ | |
'name' => 'item_background', | |
'label' => __( 'Background', 'happy-addons-pro' ), | |
'types' => [ 'classic', 'gradient' ], |
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
# add this script in product liquid (Just before addtocart form) | |
<!-- Code added for Inventory in Pipeline --> | |
<script> | |
var inv_qty = {}; | |
{% for var in product.variants %} | |
inv_qty[{{- var.id -}}] = {{ var.inventory_quantity | default: 0 }}; | |
{% endfor %} | |
</script> | |
{% if current_variant.inventory_management == "shopify" %} |
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
/** | |
* @param $interval - The interval between each delay, defaults to 500ms | |
* @param $startTime - The start time of the animations, defaults to 0ms | |
* @param $numberOfDelays - The total number of delays to be generated, defaults to 10 | |
*/ | |
@mixin delays($interval: 500, $startTime: 0, $numberOfDelays: 10) { | |
@for $i from 0 through $numberOfDelays { | |
$ms : $startTime + ($i * $interval); | |
&.delay-#{$ms} { | |
animation-delay: #{$ms}ms; |
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 | |
/** | |
* mana functioncust and definitions. | |
* | |
* @link https://developer.wordpress.org/themes/basics/theme-functions/ | |
* | |
* @package mana | |
*/ | |
if ( ! function_exists( 'mana_setup' ) ) : |
NewerOlder