Tag scripts
How To Customize The WordPress Login Page Logo And Styles
The default login page shows the WordPress logo and links to wordpress.org. A few hooks let you replace the logo, change the link and style the page to match your…
WordPress Conditional Tags Cheat Sheet With Examples
Conditional tags are functions that return true or false depending on the page being viewed. Use them to show or hide content, or to load scripts only where they are…
How To Enqueue A Javascript File In The WordPress Admin
Use the admin_enqueue_scripts hook to load JS in the dashboard. The $hook parameter lets you limit the script to specific admin screens.
How To Use The WordPress Rest Api With Javascript Fetch
Expose the REST root URL and a nonce with wp_localize_script(), then call any endpoint from JS.
How To Remove A Script In WordPress With Wp_Dequeue_Script
Use wp_dequeue_script() and wp_deregister_script() with the script handle, hooked late so it runs after the script has been enqueued.


