Tag theme
How To Make Api Requests In WordPress With Wp_Remote_Get And Wp_Remote_Post
WordPress has its own HTTP API for talking to external services. Use wp_remote_get() and wp_remote_post() instead of cURL, because they work on any hosting and respect the site settings.
How To Add Custom Body Classes And Post Classes In WordPress
WordPress adds helpful classes to the body tag and to each post, and you can add your own with the body_class and post_class filters. They make it easy to style…
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 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 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.


