Tag loading
How To Display Post Thumbnails Correctly In WordPress
Featured images, also called post thumbnails, need theme support first. After that, use has_post_thumbnail() to check if the post has an image and the_post_thumbnail() to print it.
How To Use Css Transitions And Keyframe Animations
Transitions animate a change between two states, like a hover. Keyframe animations run on their own and can have many steps.
How To Lazy Load Background Images In WordPress With Intersectionobserver
WordPress already adds loading="lazy" to images. Use IntersectionObserver for things the browser cannot lazy load by itself, like CSS background images.
How To Load Javascript With Defer Or Async In WordPress 6.3+
Since WordPress 6.3 you can pass an array as the fifth argument of wp_enqueue_script() to set the loading strategy.
Cdn Libraries
CDN Libraries lets you load popular CSS and JavaScript libraries in WordPress from the jsDelivr CDN, without editing theme files or writing wp_enqueue code. Enable Bootstrap, Font Awesome, Bootstrap Icons,…


