GetSimple Support Forum

Full Version: [Plugin] - Import Css
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need a css to display correctly my plugin admin page.
I try to load it with "add_action" but it gives a 403 error on css load.

The reason :
My css is located in plugin/myplugin/style.css so the responsable is the plugin/.htaccess file with "deny from all" instruction.

So, what's the good location to put css ?

Thank you.
That’s the right location, we advice you to put in a whitelist .htaccess in your plugins folder (/plugins/myplugin/). In that .htaccess you can then put “allow from all” so all resources your plugin needs are loadable.
I wanted to be sure...

Thanks.