WordPress.org

Support

Support » Plugins and Hacks » jQuery UI Widgets » Feature request: allow styles outside of /uploads

Feature request: allow styles outside of /uploads

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Gwyer

    @dgwyer

    Hi Dave,

    If you send me your mod, or post it on pastebin, I will take a look.

    Hi, David.

    I did not code for the general case since the change was so small. I searched for all calls to wp_upload_dir() and replaced them with my new function named jquiw_get_custom_style_dir(). I put that at the end of jquery-ui-widgets.php:

    function jquiw_get_custom_style_dir() {
        return array(
            "basedir" => WP_CONTENT_DIR . DIRECTORY_SEPARATOR . 'dbp-content',
            "baseurl" => WP_CONTENT_URL . '/dbp-content',
        );
    }

    db

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Feature request: allow styles outside of /uploads’ is closed to new replies.
Skip to toolbar