analogwp / analogwp-templates

Style Kits for Elementor adds a number of intuitive styling controls in the Elementor editor that allow you to apply styles globally or per page.
https://analogwp.com
27 stars 7 forks source link

#396 Altered logic to verify is elementor activated #397

Closed gvgvgvijayan closed 4 years ago

gvgvgvijayan commented 4 years ago

Altered logic to verify is elementor activated

gvgvgvijayan commented 4 years ago

There should be spaces between brackets. Can you please ensure you have WordPress Coding standards set in your editor?

Ok I will check. I'm using VScode 1.47

gvgvgvijayan commented 4 years ago

Followed the coding standard updated the code.

mauryaratan commented 4 years ago

@gvgvgvijayan If you delete Elementor plugin, the message continues to say "Style Kits is not working because you need to activate the Elementor plugin." from first logic, instead, it should fallback to else block saying "Style Kits is not working because you need to install the Elementor plugin."

gvgvgvijayan commented 4 years ago

@gvgvgvijayan If you delete Elementor plugin, the message continues to say "Style Kits is not working because you need to activate the Elementor plugin." from first logic, instead, it should fallback to else block saying "Style Kits is not working because you need to install the Elementor plugin."

I'm checking for the alternate solution.

gvgvgvijayan commented 4 years ago

@mauryaratan updated the code to use WP5.5 plugin REST API.