WP Codex
How To Redirect Users After Login By Role And Hide The Admin Bar In WordPress
Send each type of user to the right place after they log in, and hide the toolbar from users who should not see it. Both are common in membership sites…
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 Custom Columns To The Posts List In The WordPress Admin
You can add your own columns to the list of posts, pages or custom post types in the dashboard, for example a thumbnail, a price or a custom field. Two…
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 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…


