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
/**replacing the default oceanwp top bar section with this**/ | |
<div class="topbar"> | |
<div class="topbar-content"> | |
<div class="topbar-links"> | |
<div class="top-contact-links"> | |
<a href="https://wa.me/yourmobile" class="whatsapp-icon"><i class="fa fa-whatsapp" aria-hidden="true"></i></a> | |
<a href="tel:+yourmobile"><i class="fa fa-volume-control-phone" aria-hidden="true"></i>+yourmobile</a> | |
<a href="You Link" target="_blank"><i class="fa fa-map-marker" aria-hidden="true"></i><span>Flagship</span>Your Text</a> |
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 bt_woo_button_color_default() { | |
return '#ebe9eb'; | |
} | |
function bt_woo_button_hover_color_default() { | |
return '#dad8da'; | |
} | |
function bt_woo_button_alt_color_default() { | |
return '#a46497'; |
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
/* | |
* Use this to deque woocommerce scripts for martfury theme | |
*/ | |
add_action( 'wp_enqueue_scripts', 'dequeue_woocommerce_styles_scripts', 99 ); | |
function dequeue_woocommerce_styles_scripts() { | |
if ( function_exists( 'is_woocommerce' ) ) { | |
if ( ! is_woocommerce() && ! is_cart() && ! is_checkout() ) { | |
# Styles |
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
/* | |
* Use this to deque woocommerce scripts for martfury theme | |
*/ | |
add_action( 'wp_enqueue_scripts', 'dequeue_woocommerce_styles_scripts', 99 ); | |
function dequeue_woocommerce_styles_scripts() { | |
if ( function_exists( 'is_woocommerce' ) ) { | |
if ( ! is_woocommerce() && ! is_cart() && ! is_checkout() ) { | |
# Styles |
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
/* | |
* Use this to deque woocommerce scripts for martfury theme | |
*/ | |
add_action( 'wp_enqueue_scripts', 'dequeue_woocommerce_styles_scripts', 99 ); | |
function dequeue_woocommerce_styles_scripts() { | |
if ( function_exists( 'is_woocommerce' ) ) { | |
if ( ! is_woocommerce() && ! is_cart() && ! is_checkout() ) { | |
# Styles |
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
/* | |
* Use this to deque woocommerce scripts for martfury theme | |
*/ | |
add_action( 'wp_enqueue_scripts', 'dequeue_woocommerce_styles_scripts', 99 ); | |
function dequeue_woocommerce_styles_scripts() { | |
if ( function_exists( 'is_woocommerce' ) ) { | |
if ( ! is_woocommerce() && ! is_cart() && ! is_checkout() ) { | |
# Styles |