Tag default
How To Send Emails In WordPress With Wp_Mail
wp_mail() is the WordPress function for sending email. It works with any SMTP plugin and respects all the mail filters, so always use it instead of the plain PHP mail()…
How To Register Post Meta In WordPress With Register_Post_Meta
register_post_meta() tells WordPress about a custom field: its type, if it is a single value, how to sanitize it and if it is available in the REST API and the…
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 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 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.


