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 | |
// Add the folowing code in your theme or child theme functions.php | |
add_filter( 'woocommerce_product_tabs', 'wpb_wiz_add_woodmart_video_product_tab', 9999 ); | |
function wpb_wiz_add_woodmart_video_product_tab( $tabs ) { | |
$tabs['docs'] = array( | |
'title' => 'Videos', | |
'priority' => 50, |
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 class="nectar-fancy-box nectar-underline using-img has-animation aspect-4-5 triggered-animation animated-in" data-style="image_above_text_underline" data-border-radius="default" data-animation="fade-in" data-delay="150" data-alignment="left" style="opacity: 1; transform: none;"><div class="image-wrap"><div class="box-bg" style="background-image: url('https://www.arteal.com/wp-content/uploads/2023/10/arteal-colecao-versati-01.webp'); "></div></div> | |
<div class="text"> | |
<h3 style="text-align: center">Test Popup</h3> | |
<p style="text-align: center">Elegância e uma estética refinada</p> | |
</div> | |
<a target="_blank" href="" class="box-link wpb-pcf-form-fire" data-id="940" data-form_style data-allow_outside_click="1" data-width="500px"></a> | |
</div> | |
<div class="divider-wrap height_tablet_20px height_phone_20px " data-alignment="default"><div style="height: 1px;" class="divider"></div></div> |
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
.wpb-woo-cat-slider.wpb-wcs-content-type-plain_text.owl-carousel .owl-stage{display: flex;} | |
.wpb-woo-cat-slider.wpb-wcs-content-type-plain_text .wpb-woo-cat-item { | |
display: flex; | |
flex: 1 0 auto; | |
height: 100%; | |
align-items: center; | |
} | |
.wpb-woo-cat-slider.wpb-wcs-content-type-plain_text .wpb-woo-cat-item a { | |
position: relative; | |
overflow: hidden; |
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 | |
// Add the code below to your theme functions.php file | |
add_filter( 'wpb_portfolio_post_args', function( $args, $shortcode_id ){ | |
/** | |
* $shortcode_id: shortcode generator custom shortcode ID | |
* For the Elementor use, add the Elementor widget ID | |
*/ |
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 | |
// https://wpbean.com/downloads/woocommerce-lightbox-pro/ | |
/* | |
Add the following Code on your theme/child-theme functions.php file. Replace the id 64 with your category ID | |
*/ | |
add_action( 'woocommerce_after_shop_loop_item', 'wpb_wl_add_quick_view_button_for_categories' ); | |
function wpb_wl_add_quick_view_button_for_categories(){ |
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 | |
add_filter( 'learn-press/profile-tabs', function($tabs){ | |
unset($tabs['quizzes']); | |
return $tabs; | |
}); | |
add_filter( 'lp_quiz_post_type_args', function($args){ | |
$args['show_in_menu'] = false; | |
return $args; |
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 | |
/* | |
Reptro LMS Theme: https://themeforest.net/item/reptro-online-course-wordpress-theme/21817850 | |
*/ | |
// Add this code on your child theme functions.php file | |
add_filter( 'learn-press/profile-tabs', 'reptro_learn_press_profile_tabs' ); | |
function reptro_learn_press_profile_tabs( $tabs ){ | |
if( function_exists('LP') ){ |
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 | |
/** | |
* Add custom meta to the course | |
*/ | |
add_filter( 'rising_course_options', function( $options ){ | |
$options[] = array( | |
'id' => 'custom_tab', |
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 | |
/** | |
* Add Custom Tab | |
* Add this code to your theme or child theme functions.php file | |
*/ | |
add_filter( 'learn-press/course-tabs', 'wp_education_course_tab_customize' ); | |
function wp_education_course_tab_customize( $tabs ){ |
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 | |
/** | |
* Related Products by Sub categories only | |
*/ | |
add_filter('wpb_wrps_related_products_args', 'wpb_wrps_filter_woocommerce_related_products_args'); | |
function wpb_wrps_filter_woocommerce_related_products_args($args) | |
{ |
NewerOlder