Tag loop
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 Pagination To A Custom Wp_Query In WordPress
A custom WP_Query does not paginate by itself. You need to pass the current page number to the query and then print the page links with paginate_links().
How To Create A Custom Shortcode In WordPress
A shortcode is a small tag in square brackets that the editor replaces with dynamic content. Register one with add_shortcode() and always return the output instead of printing it.
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 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.


