![]() |
| Condition check for plugin - is_plugin_active |
Recently When I was creating a theme for wordpress using Bootstrap 3. I decided to add bootstrap CPT Carousel plugin.
When I added the shortcode in the homepage it worked properly but when plugin is not active it prints the short code [image-carousel"] on the homepage.
The solution I found was checking if the plugin is active or not.
