MWDelaney / bootstrap-3-shortcodes

WordPress shortcodes for easier use of Bootstrap elements in your content.
https://wordpress.org/plugins/bootstrap-3-shortcodes/
MIT License
377 stars 118 forks source link

Add filter to remove unused bootstrap components #141

Open dohnutt opened 7 years ago

dohnutt commented 7 years ago

I love this plugin and use it on almost all of the sites I work with.

For smaller sites, I often exclude certain bootstrap components (eg. popover, tooltip) if I don't think I or my clients will use them throughout the site. It would be great if there were a filter to remove components as the developer needs.

I was thinking of jumping into the code and seeing what I could do to make that happen but figured I'd start a discussion first. Thoughts?

taija commented 7 years ago

I just came here looking to see if this existed; it would be a fantastic feature. There are some feature sets that we do not want our content editors to use, and this would let us prevent access to those.

j-bull commented 7 years ago

This would be a great addition. Removing the shortcodes isn't too tricky, but the pop up documentation that users will most likely be using to insert the shortcodes is built in an HTML file and is more awkward.