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 // ! DONT COPY THIS LINE | |
add_filter( 'rwmb_meta_boxes', 'oxyninja_mb_badge_field' ); | |
function oxyninja_mb_badge_field( $meta_boxes ) { | |
$meta_boxes[] = [ | |
'title' => esc_html__( 'Custom Badge', 'oxy-ninja' ), | |
'context' => 'normal', | |
'post_types' => ['product'], | |
'fields' => [ | |
[ |
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 // ! DONT COPY THIS LINE | |
add_filter( 'rwmb_meta_boxes', 'oxyninja_mb_slider_gallery' ); | |
function oxyninja_mb_slider_gallery( $meta_boxes ) { | |
$meta_boxes[] = [ | |
'title' => esc_html__( 'Gallery Slider', 'oxy-ninja' ), | |
'post_types' => ['post', 'page', 'product'], | |
'context' => 'normal', | |
'fields' => [ | |
[ |
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
jQuery(".woocommerce-tabs li a").off("click"); | |
jQuery(".woocommerce-tabs li a").click(function (e) { | |
e.preventDefault(); | |
jQuery(".woocommerce-tabs li").removeClass("active"); | |
jQuery(this).parent().addClass("active"); | |
jQuery(".woocommerce-Tabs-panel:visible").hide(); | |
jQuery(".woocommerce-Tabs-panel:visible").hide(); | |
jQuery(jQuery(this).attr("href")).show(); | |
return false; | |
}); |
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
#payment ul.wc_payment_methods { | |
margin-bottom: 20px !important; | |
} | |
#mailpoet_woocommerce_checkout_optin_field > span > label { | |
position: relative; | |
} | |
#mailpoet_woocommerce_checkout_optin::before, | |
#mailpoet_woocommerce_checkout_optin_field > span > label > span::before { |
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
/* Cart Hover bg */ | |
.wc-mini-cart:hover { | |
background: #000; | |
} | |
/* Black Cart Dropdown */ | |
.wc-menu-open .wc-dropdown-cart { | |
background: #000; | |
color: #fff; | |
} |
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
{ | |
"agency_base_standard_classes": { | |
"standard_class_group": [ | |
{ | |
"group_name": "Breakpoints (Reference Only)", | |
"classes": [ | |
{ | |
"class": "s", | |
"description": "Mobile (up to 480px)" | |
}, |
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
// All styling have to be inside a class | |
(function ($) { | |
let repeaterIdName = $(".oxy-dynamic-list").find("*").attr("id"); | |
let repeaterIdCount = 1; | |
$(function () { | |
$(".oxy-dynamic-list") | |
.find("div") | |
.each(function (i) { | |
if ($(this).attr("class").includes("ct-div-block")) { | |
$(this).attr({ id: `${repeaterIdName}-${repeaterIdCount}` }); |
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 | |
/** | |
* Plugin Name: DarkkMode | |
* Description: Plugin test | |
* Version: 1.0.0 | |
* Author: Rados | |
* Author URI: purr.cz | |
* License: GPL-2.0+ | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt | |
*/ |