Tag priority
How To Add Content Before Or After Posts With The The_Content Filter
The the_content filter runs every time WordPress prints the content of a post. Hook into it to add a call to action, an author box, an ad or any extra…
How To Add Settings To The WordPress Customizer
The Customizer lets site owners change theme options with a live preview. Add a section, a setting and a control with the customize_register hook, then read the saved value with…
How To Change The Excerpt Length And Read More Text In WordPress
WordPress shows 55 words in excerpts by default and ends them with […]. Two filters let you change both.
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 @Layer To Control Specificity And Cascade Order
Cascade layers let you decide which group of styles wins, no matter how specific the selectors are. A rule in a later layer beats a rule in an earlier layer,…


