A quick WordPress tip regarding Custom Post Types: when giving a custom post type a name, make sure that its length is 20 characters or less, or weird things will happen.

I recently ran into this and spent way too much time trying to figure out why things weren’t working as expected. For some reason the “Publish� button on the “Add New� page for my custom post type was replaced by a “Submit for Review� button. Huh?

At first I thought the problem was related to permissions, but it turned out to be the length of the name I’d given my custom post type.

Read full post

Posted in .