Tag auto
How To Run Safe Database Queries In WordPress With $Wpdb
The global $wpdb object lets you query the WordPress database directly. Use it when the standard functions are not enough, and always use $wpdb->prepare() to protect against SQL injection.
How To Create A Masonry Layout With Css Columns
What it is: a masonry layout places items of different heights in tight columns with no empty gaps, like a Pinterest board. Native CSS masonry is still in development and…
How To Use Css Mask-Image For Fade Effects And Custom Shapes
What it is: a mask decides which parts of an element are visible, using the transparency of an image or a gradient. Where the mask is solid, the element shows.…
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…


