WP Codex
How To Register A Custom Taxonomy In WordPress
A taxonomy is a way to group content. Categories and tags are the built-in taxonomies. A custom taxonomy lets you create your own groups, like project types, genres or brands,…
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 Create A Custom Loop In WordPress With Wp_Query
WP_Query lets you fetch posts with your own rules, like a specific category, post type or number of items, and display them anywhere in your theme.
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.


