Skip to content

Martijn Beurze :: Designer Developer

Random thoughts, tuts and snippets

  • Home
  • Search
  • Menu
×

Browse:

  • Home
  • php

Load external js file with crossorigin check in WordPress

12 January 2021 by martijn
Load external js file with crossorigin check in WordPress

Let’s say we want to load jQuery. Not the one WordPress gives us, but a version we tested on and know for sure everything is going to work. As normal, we deregister (in functions.php) WordPress jQuery, register our own and enqueue the script.

  • continue reading
  • Webdev, Wordpress
  • Tagged cdn, CORS, jquery, php, WordPress
  • Leave a Comment on Load external js file with crossorigin check in WordPress
  • 3110

Recent Posts

  • Oh no: Service Monitor is empty in Direct Admin
  • Magento 1.9 file permission
  • Let’s Encrypt error: x509: certificate signed by unknown authority
  • Load external js file with crossorigin check in WordPress
  • Update CentOS / Redhat

Archives

  • October 2022
  • October 2021
  • January 2021
  • November 2019
  • August 2018

Categories

  • CentOS / Redhat
  • Direct Admin
  • Exim
  • Geen categorie
  • Linux
  • Magento
  • Server
  • Webdev
  • Wordpress

Tags

550 Verification failed (1) bounce (1) cdn (1) centos (1) CORS (1) direct admin (1) dkim (1) dns (1) email (2) exim (2) jquery (1) linux (4) Magento 1.9 (1) php (1) redhat (1) relay servers (1) server (3) WordPress (1)

Proudly Powered By WordPress