Skip to content

Instantly share code, notes, and snippets.

View mrkapable007's full-sized avatar

Viktor mrkapable007

View GitHub Profile
/**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>
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';
/*
* 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
/*
* 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
/*
* 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
/*
* 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