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
const fbElementsToHide = ['Stories', 'Reels', 'Open reel in Reels Viewer']; | |
const hiddenElements = new Set(); | |
const hideElementsOnScroll = () => { | |
for (const element of fbElementsToHide) { | |
if (!hiddenElements.has(element)) { | |
const targetElement = document.querySelector(`div[aria-label="${element}"]`); | |
if (targetElement) { | |
targetElement.classList.add('wpbean-facebook-hidden'); | |
hiddenElements.add(element); // Mark this element as handled |
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
.ticket_note blockquote { | |
display: none; | |
} | |
div#appendonsend + hr + div#divRplyFwdMsg { | |
display: none; | |
} | |
div#appendonsend + hr + div#divRplyFwdMsg + div { | |
display: none; | |
} |
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 | |
// 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 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
<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 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
.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 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 | |
// 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 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 | |
// 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 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 | |
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 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 | |
/* | |
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 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 | |
/** | |
* Add custom meta to the course | |
*/ | |
add_filter( 'rising_course_options', function( $options ){ | |
$options[] = array( | |
'id' => 'custom_tab', |
NewerOlder