[resolved] Not all files work (3 posts)

  1. dEM0nsTAr
    Posted 3 years ago #

    Not all files are added to the queue like


    even if I add wp-piwik, style and comment-reply.min to the list.

    And if I add gdsr_style_main the CSS isn't loading correctly for the stars.

    Thanks for help.


  2. tzdk
    Posted 3 years ago #

    /*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?

  3. Matthew Haines-Young
    Human Made
    Plugin Author

    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MinQueue
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.