Tag main
How To Create A Settings Page In WordPress With The Settings Api
The Settings API is the standard way to build an options page in the admin. WordPress handles saving, security and the form submission. You only define the page, the sections…
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 Register A Widget Area (Sidebar) In WordPress
A widget area, also called a sidebar, is a place in your theme where the site owner can drag and drop widgets from Appearance, Widgets. Register it with register_sidebar() and…
How To Load Custom Fonts With Css @Font-Face And Font-Display
Hosting fonts on your own server is faster, avoids third party requests and helps with privacy rules. Use @font-face to register the font and font-display to control how text shows…


