Change Default Values in Beaver Builder Themes Customizer Settings

The Beaver Builder Themes default values in the Customizer can be changed with the fl_theme_add_panel_data filter. These are the values when you click on the default button that return a value set from the original code. The filter is found…
Changing the Customizer Values & Presets for the Beaver Builder Theme

Here is a quick way to override the active preset that comes with the Beaver Builder Theme in the Customizer. This may come in handy if you need to start off with your own preset settings and perhaps remove all the…
Output The Featured Image in a Loop as a Linked Media Image

Instead of linking a featured image to a post permalink in a loop – here is how you can link to its original image of itself. https://gist.github.com/neilgee/b5df702da5ef092b4cd48d57dec32768 So above, the title and featured image is output of a post -…
Filtering Posts with Custom Fields Using meta_query

You can further refine a list of posts by filtering any custom fields that the post has for a certain set of conditions, this is possible with WP_Meta_Query, which allows you to target custom fields as known as post meta. There…
Filter Custom Post Types by Taxonomy in WP Admin Dashboard

Filter CPTs by a linked custom Taxonomy in the WP Admin Dashboard is possible with restrict_manage_posts. In the screenshot there is a CPT list of posts, with a dropdown menu of a linked custom taxonomy terms which are filterable via…
Add Modern Tribe Event Categories as CSS classes in Event Posts

Event Categories are not added as CSS classes to individual Event Posts in the Modern Tribes Event Plugin for WordPress, however you can use the body_class filter to add them in. add_filter( ‘body_class’, ‘cp_event_taxonomy_in_body_class’ ); // Ref – https://theeventscalendar.com/support/forums/topic/add-category-name-as-body_class/ //…
Changing the Modern Tribe Events Date Format

This is some code borrowed and extended on to change the Modern Tribes Event plugins date output format to make it a bit easier on the eye than the default output. https://gist.github.com/neilgee/d67ff7310441b680e1d0ad575994b330 It is a shortcode [all_the_single_dates] that outputs the…
Add Search & Filter Pro to Beaver Themer Post Module CPT Archive

You can use Search and Filter Pro with Beaver Builders Themer Post Module columns post layout, this guide goes through the tweaks needed and uses a CPT (custom post type) archive page. Create your Posts Module CPT Archive Page via…
Add Search & Filter Pro to Beaver Builder Masonry Grid

You can use Search and Filter Pro with Beaver Builders Themer Post Module grid masonry layout, this guide goes through the tweaks needed and used the main blog post archive page. Create your Posts Module Archive Page Create your Posts…
jQuery replace an image on click

jQuery replace an image on click- example below, this is a method to swap numerous images in HTML by manipulating the images src attribute value from the click of another element such as a button. HTML <div> <button></button> <button></button> <button></button> <button></button>…