How to Create WordPress Posts in Themes/Plugins


User-Submitted Posts in WordPress

Recently, one of our clients needed to let visitors create WordPress posts (Or custom post types of course) from the website itself.

In this post, I’m going to walk through some of the WordPress functions I used to achieve this. We’ll go over creating the post itself, adding categories/tags, and adding metadata.

Read More »

WordPress $post, $term and $comment Object Cheat Sheet


WordPress Object Cheat Sheets

There are several objects in WordPress that we use all the time, namely $post, $comment and categories/tags. If you’re like me though, you never remember everything that’s in there, or the names of the values you want.

This cheat sheet will be a reference which you (and I) can refer to the next time you’re using one of the WordPress objects.

Read More »