How to add Navigation on Live composer gallery slider?

Live composer  gallery slider lacks the prev and next button. Hope this tutorial helps to add this button on live composer. Step 1: First create js files somewhere on your child theme. Here I kept js files inside child-theme/js/child-theme-custom-scripts.js. Step 2: Enqueue this scripts on the WordPress standard way. function child_theme_enqueue_styles() { $parent_style = ‘parent-style’; …

How to add custom module tabs on Divi theme?

Divi modules normally come up with three modules tabs What if we want to add new tabs for our custom modules?  Divi theme provides awesome filter to add tabs on your module. You can see on Divi/Includes/Builder/class-et-builder-element.php return apply_filters( ‘et_builder_main_tabs’, $tabs );    Now we are using new tabs on existing modules tabs. add_filter( ‘et_builder_main_tabs’, …

Divi Custom Module doesn’t appear on page/post edit screen?

If your custom module disappears after publishing the page then you are on right place.I spend almost 3-4 hours to debug this error but and found there is simple fix for this. The solution is to prefix the custom module slug with et_pb_ Let us suppose you are building custom module for accordion then I …

How to Add Metabox On Houzez Child Theme ?

Hello everyone, Today I am going to share my experience while adding metabox on child theme using metabox.io on Houzez child Theme Houzez Theme use metabox.io plugin to create metabox field on custom post type property as well default WordPress Post type. While using “”rwmb_meta_boxes” filter hook on child theme I came to lost all …

How to use wp_dropdown_categories() on widget field?

Hello Guys, Let’s see how we can implement wp_dropdown_categories() on widget field. Here I am implementing codex way of making widgets: see here for reference: https://codex.wordpress.org/Widgets_API You can see more about wp_dropdown_categories() here: https://codex.wordpress.org/Function_Reference/wp_dropdown_categories So here we go-> /** * Adds Foo_Widget widget. */ class Foo_Widget extends WP_Widget { /** * Register widget with WordPress. …

How to crop image in customizer image field ?

Hello everyone, Today I am going to illustrate on , how to cropped image on customizer. Normally we use WP_Customize_Image_Control for selecting image on customizer section, but this doesn’t provide you the featured to cropped image on your requirement. But WordPress provide us class called ‘WP_Customize_Cropped_Image_Control’ which provide you the featured to crop a image.You can …

How to make slider for woocommerce related product?

Hi everyone, today i am going to show you how to implement slider for woocommerce related products. Required condition: 1> Here we are using bx slider so i hope you everyone know how to set up bx slider on our theme. Here is the link: http://bxslider.com/ 2> All of you know how hook function on …

How to make blog post protected?

Hello Guys, today i am going to explain you simple logic on making blog page passport protected. Step 1: select one of the page as post page. You can select this from dashboard -> setting -> reading -> post page section step 2: Then you need to find which template is in use to display …

How to add custom image size with metabox?

Here is the procedure for adding custom image size on metabox/metafield of post I hope you all are familiar with after_setup_theme theme hook. Here i first defined image size using add_image_size function: example: //adding function_exists() before function will let user to customize the same function on child theme if ( !function_exists( ‘theme_slug_image_size_for_metabox’)) : function theme_slug_image_size_for_metabox(){ //set …

All Customizer panel & section lost

Today after updating my site to latest WordPress  version 4.5. i came along this issue. My customizer  preview init is totally blank with no section and panel. Along with i got this error on console Uncaught TypeError: data.defaultValue.substring is not a function How i solved this issue? First I deactivated all plugin installed on a …