WordPress.org

Ready to get started?Download WordPress

Forums

Shortcode Exec PHP
[resolved] How to use the CSS file ... in /uploads? (2 posts)

  1. doclalor
    Member
    Posted 1 year ago #

    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, shortcode-exec-php.css.

    What am I missing? Thanks!
    ~Brendan

    http://wordpress.org/extend/plugins/shortcode-exec-php/

  2. Marcel Bokhorst
    Member
    Plugin Author

    Posted 1 year ago #

    shortcode-exec-php.css is not intended for styles on the frontpage.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic