Hiding Sub Field

On a repeater field, we want to hide sub field that dont have any value. Here’s the code

Favorite Post v.02

We are working on a new project that require favorite system where visitor/member can favorites a post and displaying on their profile. Also we want to display most favorite post on front end. WP Favorite Posts is a good plugin, but the development is stopped. Fortunately we found fork of this plugin and it works... Continue reading Favorite Post v.02

Add Property (eg. data-attribute, predefined class etc) to Visual Composer

Sometimes we want to add additional or predefined class on visual composer elements (eg. row, inner row, column) to implement jquery effect. To achieve this on functions.php add a new vc_add_param Then copy vc_row in js_composer/include/templates/shortcodes to your theme /vc_templates/vc_row.php Add the new class   For custom data-attributes, below $wrapper_attributes array (line 72), add this... Continue reading Add Property (eg. data-attribute, predefined class etc) to Visual Composer