Top of page
In Topicunder Snippets

WordPress

Collection of quick and easy code snippets of WordPress for web developers.

Add Jetpack Image CDN To Advanced Custom Fields Image Fields

Add WordPress JetPack Photon CDN or JetPack Image CDN filter to WordPress Advanced Custom Fields (ACF) image field on themes and plugins.

Fix 'XMLHttpRequest cannot load / CORS' error when WordPress address and Site address differ

Workaround to an issue causing XMLHttpRequest cannot load / CORS error in WordPress admin dashboard when using different WordPress address and Site address.

Remove Query Strings From WordPress CSS and JavaScript Resources

How to guide on removing query strings from your WordPress static resources or CSS and JavaScript files using a simple code or a WordPress plugin.