Support » Plugin: MinQueue » Not all files work

Viewing 2 replies - 1 through 2 (of 2 total)
  • /*jquery, gdsr_script, jquery-ui-core, jquery-ui-widget, jquery-ui-mouse, jquery-ui-draggable, mousewheel, sfx, slideshowfx, picochic_scripts, picochic_respond, comment-reply*/ /*

    so comment-reply is in there. If you remove it will only load on single view post and comments are open. Why he writes this in Helper window

    Remember some scripts are loaded conditionally (on certain pages, or for logged in users etc).

    Rest will be because files are not loaded via enque system, they just get spit out, like

             *  Include CSS-file in wordpress-head
             *  @return string
            function IncludeCSS()
                echo '<link type="text/css" rel="stylesheet" href="' . $this->PluginDir . '/style.css" />';


    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

    Star thing is some dynamik stuff with php extension.

    Piwik is ignored because on other domain, I think.

    I guess it must be a bug if Helper window show handles for these incompatible files. Does it?

    Plugin Author Matthew Haines-Young


    Thanks for replying tzdk.

    MinQueue will not proccess externally hosted files.

    It is also only able to proccess files loaded using the WordPress script and style enqueue system. tzdk is correct – it looks like your plugin is echoing the script tag rather than using wp_enqueue_script.

    If it shows up in the helper tool then it is correctly enqueued. Note that some scripts are only enqueued on certain pages. However as they can be registered separately and this allows MinQueue to proccess them even if they are not actually enqueud on a certain page. For example the comment reply script is registered on all pages even when not loaded.

    Hope this was helpful

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not all files work’ is closed to new replies.