I can’t get shortcode-exec-php to read the CSS file. I copied shortcode-exec-php.css from the /plugins to my /uploads directory, and – in shortcode-exec-php.css – added styling for the class,
.oval-quotes. In the shortcode-exec-php editor, I added a simple shortcode, which I called ‘[kwote]’, and in the editor’s code window, I put the code:
return '<blockquote class="oval-quotes"><p>'.$content.'</p></blockquote>';
But the CSS sheet is not referenced (incidentally, it is not referenced if I leave it in the /plugins directory, nor if I put it in my theme folder). The CSS works fine if I put it in a custom CSS field used by my theme. But I would like to know if I can use this plugin’s own option to store CSS in the file,
What am I missing? Thanks!
- The topic ‘How to use the CSS file … in /uploads?’ is closed to new replies.