Conflict with Themes that Have Bootstrap already installed
-
There is a major issue flat out adding css and js frameworks into pre-existing templates, especially if those templates are including the same framework you are adding. This creates errors and causes confusion for those with less development knowledge.
To help your plugin be more successful in it’s efforts to provide a simple way of adding tabs to a theme I would suggest an options page to toggle your addition of JS and CSS files (you can keep it defaulting to true – add them, but for those that are having a conflict the ability to toggle them and not have to modify your actual plugin code is the better solution.)
Option could be a simple checkbox that looks like this (as an advanced setting):
Do not Include Bootstrap (warning bootstrap is required for this plugin to function properly)Hope this helps you and your future users
- The topic ‘Conflict with Themes that Have Bootstrap already installed’ is closed to new replies.