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 // do not copy this line, start with line 3 | |
add_action( 'wp_enqueue_scripts', 'bb_custom_enqueue_scripts', 99 ); | |
function bb_custom_enqueue_scripts(){ | |
if ( class_exists( 'FLBuilderModel' ) && FLBuilderModel::is_builder_active() ) { | |
wp_dequeue_script( 'jelly.min' ); | |
wp_dequeue_script( 'file-upload' ); | |
} | |
} |
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 // Do not copy this line, start with line 3 | |
// Sensei unhook | |
global $woothemes_sensei; | |
remove_action( 'sensei_before_main_content', array( $woothemes_sensei->frontend, 'sensei_output_content_wrapper' ), 10 ); | |
remove_action( 'sensei_after_main_content', array( $woothemes_sensei->frontend, 'sensei_output_content_wrapper_end' ), 10 ); | |
add_action('sensei_before_main_content', 'my_theme_wrapper_start', 10); | |
add_action('sensei_after_main_content', 'my_theme_wrapper_end', 10); |
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
[wpbb-if post:featured_image] | |
<a class="post-card-image-link" href="[wpbb post:url]"> | |
<div class="post-card-image" style="background-image: url([wpbb post:featured_image size='full' display='url']);"></div> | |
</a> | |
<div class="post-card-content"> | |
<a class="post-card-content-link" href="[wpbb post:url]"> | |
<header class="post-card-header"> | |
<span class="post-card-category">[wpbb post:terms_list taxonomy='category' separator=', ' linked='no']</span> | |
<h2 class="post-card-title">[wpbb post:title]</h2> | |
</header> |
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
.fl-post-grid-post { | |
-webkit-transition: all 0.5s ease; | |
transition: all 0.5s ease; | |
border-radius: 5px; | |
-webkit-box-shadow: 8px 14px 38px rgba(39, 44, 49, 0.06), 1px 3px 8px rgba(39, 44, 49, 0.03); | |
box-shadow: 8px 14px 38px rgba(39, 44, 49, 0.06), 1px 3px 8px rgba(39, 44, 49, 0.03); | |
-webkit-backface-visibility: hidden; | |
backface-visibility: 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 // Do not copy this line, start with line 3 | |
add_shortcode( 'bb_search','bb_search_shortcode' ); | |
function bb_search_shortcode() { | |
ob_start(); | |
FLTheme::nav_search(); | |
return ob_get_clean(); | |
} |
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 // do not copy this line, start with line 3 | |
add_action( 'wp_enqueue_scripts', 'bb_custom_enqueue_scripts', 99 ); | |
function bb_custom_enqueue_scripts(){ | |
if ( class_exists( 'FLBuilderModel' ) && FLBuilderModel::is_builder_active() ) { | |
wp_deregister_script( 'app' ); | |
} | |
} |
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 //Don't show this line | |
function fl_builder_loop_query_args_filter( $query_args ) { | |
if ( 'example-module' == $query_args['settings']->id ) { | |
$query_args['post_type'] = array( 'post', 'product' ); | |
} | |
return $query_args; | |
} | |
add_filter( 'fl_builder_loop_query_args', 'fl_builder_loop_query_args_filter' ); |
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 // do not copy this line, start with line 3 | |
function my_builder_register_settings_form( $form, $id ) { | |
if ( 'row' == $id ) { | |
// Modify the $form array for rows as needed. | |
} | |
elseif ( 'button' == $id ) { | |
// Modify the $form array for button modules as needed. | |
} |
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
/* Grayscale To Color */ | |
.gray-scale-img .fl-photo-content { | |
overflow: hidden; | |
-webkit-backface-visibility: hidden; | |
} | |
.gray-scale-img .fl-photo-content .fl-photo-img { | |
-webkit-filter: grayscale(100%); | |
filter: grayscale(100%); | |
-webkit-transition: .3s ease-in-out; | |
transition: .3s ease-in-out; |
OlderNewer