Tag default
How To Add Custom Image Sizes In WordPress With Add_Image_Size
Use add_image_size() to make WordPress generate extra image sizes every time an image is uploaded. This gives you exact dimensions for cards, banners and galleries.
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 Speed Up Page Rendering With Css Content-Visibility
What it is: by default the browser calculates the layout and painting of the whole page, even the parts nobody has scrolled to yet. With content-visibility: auto the browser skips…
Modern Css Reset For WordPress Themes With @Layer
What it is: every browser applies its own default styles, like margins on headings or different font sizes in forms. A CSS reset removes those differences so your design looks…
Css @Function And If(): Custom Functions And Inline Conditions
What it is: two new features that bring programming logic into CSS. @function lets you write your own reusable function. if() lets a property choose between values based on a…


