WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Starscape] Broken Preview in Theme Directory (2 posts)

  1. Milan Petrovic
    Member
    Posted 5 years ago #

    As you might wonder why the Preview is broken in Theme Directory, the reason is only partial compatibility with WordPress 2.6. Everything works great if you don't change the location of your WP-CONTENT folder.

    Since Theme Directory preview uses WP 2.6 and most likely has changed location of this folder, that's the reason for a broken preview, CSS is not loaded properly. CSS depends on user settings, and loading these settings rely on the ability to load wp-config from CSS file.

    Since the WP developers have not yet provided proper way to load config, this remains a big problem for many of the plugins and themes that need to load wp-config. As far as I know NextGEN gallery also doesne't work properly in such case (fail to load tinymce3 button plugin).

    I have already made a post about this, but no replies from developers yet. Hopefully, we will be able to find some workaround this problem.

    Regards,
    Milan Petrovic
    Starscape Theme creator

  2. Milan Petrovic
    Member
    Posted 5 years ago #

    New version 1.4.2 is available and this one should fix the problem with WP-CONTENT folder location.

    The only solution I have found so far instead of loading wordpress wp-config is to sent all settings needed by external file through query string in url. It could be a long string, but that’s the only solution right now.

    If anybody has better way of sending settings in external CSS or JS files, please send me a message about it, or leava comment. Also, if you notice some problems with Starscape and WordPress 2.6, leave a comment here or at my website.

Topic Closed

This topic has been closed to new replies.

About this Topic