banner

Integrate plugin KingComposer WordPress page builder in your theme.

This instruction helps you integrate your website with any theme and KingComposer page builder.

1. Install Kingcomposer plugin via page added plugin

in1

in2

in3

 

2. Creat file and include via function.php in your theme

I created file kingcomposer.php in folder inc/kingcomposer.php
I call it via file function.php
+ require get_template_directory() . ‘/inc/kingcomposer.php’;

3. Create elements demo.

Code in file kingcomposer.php

4. Create template for element

+ create folder kingcomposer in your theme themes/YOUR_THEME/kingcomposer/
+ create file have name _ID_ARRAY_ELEMENTS.php in folder template kingcomposer
in4

 

+ display element in file template themes/YOUR_THEME/kingcomposer/twe_test.php

in5