Tag type
WordPress Conditional Tags Cheat Sheet With Examples
Conditional tags are functions that return true or false depending on the page being viewed. Use them to show or hide content, or to load scripts only where they are…
How To Upload Files From The Front End In WordPress With Media_Handle_Upload
Use media_handle_upload() to accept a file from a form on your site and add it to the Media Library. WordPress validates the file type, moves the file and creates the…
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 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…


