PHP 7.0.0 on EasyPHP DevServer 14.1 VC11

Learn how to run PHP 7.0.0 on EasyPHP DevServer 14.1 VC11 with easy 8 steps for less than 10 minutes!

Waiting to EasyPHP DevServer release v15.10 with bundled PHP 7, I went to install latest PHP on my machine running v14.1 VC 11. And, actually, that was quick and easy. You can do it by following 8 easy steps below.

Continue reading “PHP 7.0.0 on EasyPHP DevServer 14.1 VC11”

Dropdown attribute with default value in WPBakery Visual Composer

Learn how to preselect value in dropdown list when custom Visual Composer block is added to page/post layout, based on default plugin settings.

I’m currently implementing support for Visual Composer to my plugins, and went to not well documented dropdown attribute parameters.

So, when we have array of available values (no matter if array contains key=>value, values only or it’s mixed), and we also have default value for that parameter set in plugin options (for example), it is possible to pre-select that default value in dropdown list.

Even you will not find clear explanation about how to do that in WPBakery Knowledge base for vc_map() functionality, if you dig plugin files, or analyse other plugins, you’ll find it for sure 🙂

Example parameters for dropdown attribute

So, here we go. Magic parameter that we need here is std, and should contain default value (key for multidimensional array). Here is demo code:


Easy Tables and support for shortcodes

Easy Tables for Visual Composer allows you to use only text content, but shortcodes are not processed. We have a working solution.

Easy Tables is a table manager for Visual Composer that allows you to create and manage tables with drag and drop interface. Main difference between tables inserted through TinyMCE inside VC Text Block is that Easy Tables use standalone block.

Currently, only text can be inserted as content of cells, and shortcodes are not processed. So, we have a solution for that lack (until author implement this functionality to original plugin).

Easy Tables hack

It’s really easy. Simply open plugins file /wp-content/plugins/easy-tables-vc/lib/templates/vc_table.html.php and change last line in file that says


And voila, all shortcodes inside Easy Tables cells will bee processed.