WordPress.org

Ideas

Default javascript location

  1. controvi
    Inactive

    While developing a website for the company I work for I use wordpress as base platform.

    We try to develop the website that follows the trends and best practices.

    On of these best practices is the javascript at the bottom of the page.
    This makes for a better way of loading the website and having less blocking elements on page load.

    One thing I found was that sometimes plugins can force themselves to the header taking some other scripts with them.

    What I would like to see is more influence on where javascript is placed by default.
    In general I would love to see a Developer role added to the users but that's a different story.

    So to make it short.
    I would like to see an options for developers to have a default location for all javascript.

    Posted: 6 months ago #
  2. Ipstenu (Mika Epstein)
    Lead Plugin Wrangler

    This can already be done

    https://wordpress.org/plugins/scripts-to-footerphp/

    Posted: 6 months ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    0 Votes
  • Status

    This is plugin territory