Tag post
How To Use Css Counters For Automatic Numbering Of Headings And Lists
What it is: CSS can count elements for you and show the number with ::before or ::after. You never type the numbers by hand, so if you add or remove…
Essential WordPress Css Classes Every Theme Should Style
WordPress adds a set of classes to content, images and editor blocks. A good theme styles them, otherwise alignment, captions and accessibility features can break.
How To Truncate Text With Css Line-Clamp And Text-Overflow
Cut long text with an ellipsis, either on a single line or after a set number of lines. This is very useful for post titles and excerpts in cards.
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 Create A Load More Posts Button With Ajax In WordPress
Load the next page of posts without reloading the page. This example requires the lotgrafixData object from the wp_localize_script() post.


