/wp-content/plugins/plugin-name
A cleaner way to generate and include custom shortcodes with: * HTML/PHP code. * CSS code. * Javascript code. * Ajax calls. * CSS and Javascript files. * Other resources files: images, pdf, …
The plugin doesn’t interfere with the wordpress database. Nothing is writing in there. Shortcodes can be enabled/disabled individually. Custom CSS and Javascript files required for the shortcode are enqueued in the head section. Due to the flexibility of the shortcode creation, an invalid code can broke your site. If so, you can activate safe mode on a per-page basis by appending ?safe-mode=true to the URL. In this manner, it disables the execution of all the shortcodes created. Clean and efficient: Nothing about any saved shortcode is executed if the shortcode is not present in the frontend page. Shortcodes can be used to inject some kind of php, javascript, css or ajax (php) code.