Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ITKSolutions

    (@itksolutions)

    Feature Request Summary:
    -Support for keeping wp_head enqueued stuff in place
    -Support for excluding scripts, styles, templates by name and id
    -Support for explicitly moving scripts from body to head
    -Support for prioritization/ load order management

    I came here for a similar feature request like “szepe.viktor”.
    The “Speed Booster Pack” Plugin’s Option “Move scripts to the footer” seems to keep code added/ inlined explicitly to the header like the “Ajaxify” Plugin does add_action('wp_head','ajx_jscript');. This code will remain in the header while “Autoptimize” shift jQuery to the footer, so it breaks Ajaxify’s functionality. By the way, we Ajaxify uses very wrong enqueueing (no enqueue, no dependency), but it brought up an important question: What about non-JS-Script’s like <script type="text/x-handlebars" data-template-name="bla" id="bla"> would it not be nice to be able to exclude them by specifying id and template-name!? What about moving things from body to head? If the dependency resolution is broken, you might need to enqueue/ enforce a script to load in the head.

    Plugin Author Frank Goossens

    (@futtta)

    some nice ideas ITKSolutions, i’ll add this to my todo-list for future consideration ??

    Hi there.. May I add the ability to move scripts from ad networks to the bottom as well? Scripts from ad networks are typically dynamically generated, but there seems to be no way to do so currently. Google AdWords seems to work ok.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘A Few Feature Requests’ is closed to new replies.