Load carbon fields with theme if plugin is not active
-
Hello!
I’m fairly new to php and wordpress and now I have to finish a theme project started by an actual developer.
Different blogs will use this new theme, but plugin activation is only available to a category of users. To make it easier, we’re shipping carbon fields along with the theme, which I’ve managed to do by using the documentation and support forums.
So my question is: What code should I use on functions.php, to only load the plugin shipped with the theme, if carbon fields is not already activated by the user?
Thanks!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Load carbon fields with theme if plugin is not active’ is closed to new replies.