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
| (function($){ | |
| $(function() { | |
| clickColumn(); | |
| }); | |
| /* | |
| * Make a BeaverBuilder Column clickable. |
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 | |
| /** | |
| * Class for getting a list of Beaver Builder modules. | |
| */ | |
| class KM_Beaver_Builder_Module_List { | |
| /** | |
| * Get the list of Beaver Builder modules. | |
| * | |
| * @param int $post_id The post ID. Default is the current post being |
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
| // Advanced Menu - off-canvas before menu items | |
| function wpba_demo_offcanvas_menu_before( $type, $settings, $id ) { ?> | |
| <style> | |
| .wpba-menu-content { margin-top: 50px; padding: 40px; padding-bottom: 10px; } | |
| </style> | |
| <div class="wpba-menu-content"> | |
| <div class="wpba-menu-search"> | |
| <?php echo get_search_form(); ?> | |
| </div> | |
| <h3>About us</h3> |
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 | |
| function fl_builder_loop_query_args_filter( $query_args ) { | |
| if ( 'example-module' == $query_args['settings']->id ) { | |
| $query_args['ignore_sticky_posts'] = false; | |
| } | |
| return $query_args; | |
| } | |
| add_filter( 'fl_builder_loop_query_args', 'fl_builder_loop_query_args_filter' ); |
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 | |
| /** | |
| * Plugin Name: PXB - Random Beaver Layouts | |
| * Description: Show random saved layouts in BB with shortcode | |
| * Version: 1.0 | |
| * Author: Pixablaze | |
| * Author URI: https://www.pixablaze.com | |
| */ | |
| /*---------------------------------------------------------- |
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 | |
| /** | |
| * Example on how to auto-populate a Gravity Form Field "membership_level" with the user's current membership level for Paid Memberships Pro. | |
| * If user is not logged-in or doesn't have a membership level leave it blank. | |
| * Adjust the 'gform_field_value_membership_level' name to match that of your field name parameter name. | |
| */ | |
| function my_auto_populate_gforms_pmpro_level( $value ) { | |
| if ( ! defined( 'PMPRO_VERSION' ) || ! is_user_logged_in() ) { |
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
| add_action( 'wp_enqueue_scripts', function() { | |
| wp_enqueue_style( 'font-awesome-5' ); | |
| } ); |
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
| .pp-content-grid-post { | |
| font-size: 14px; | |
| } | |
| .pp-content-grid-post-image { | |
| padding: 0; | |
| position: relative; | |
| } | |
| .pp-content-grid-post-image a img { | |
| filter: saturate(1.6) contrast(1.1); | |
| opacity: 1; |
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
| // rowblur.js for Beaver Builder rows | |
| // (c) 2018 Didou Schol / BadabingBreda | |
| // rowblur.js may be freely distributed under the MIT license. | |
| // | |
| // add 'blureffect' as a class to the row and set the background-type to 'image' | |
| // copy the code below into the "Global Settings > Javascript" tab and the rest will follow | |
| // blur effect is hidden on fl_builder page, and needs a reload after page is saved. | |
| // When normally browsing the site loads normally. | |
| (function($) { |