Tag icon
How To Create A Settings Page In WordPress With The Settings Api
The Settings API is the standard way to build an options page in the admin. WordPress handles saving, security and the form submission. You only define the page, the sections…
How To Register A Custom Post Type In WordPress
A custom post type, or CPT, is a new type of content besides posts and pages, such as portfolio items, products, events or testimonials. Register it with register_post_type() on the…
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 Style Keyboard Focus With Css :Focus-Visible For Accessibility
What it is: when someone navigates with the Tab key, the browser shows an outline around the active link or button. Many designers remove it because it looks ugly, which…
How To Register A Gutenberg Block With Plain Javascript In WordPress
You can register a simple block without a build step. Load the script in the editor with the enqueue_block_editor_assets hook and declare the WordPress packages as dependencies.


