Cheatinโ€™ uh? Error - WordPress Custom Post Types

April 4, 2011

development wordpress

This is for those of you hunting for the Cheatin' uh? WordPress error when developing custom post types.

It's most likely an issue with what you named a custom taxonomy that you intend to attach to a custom post type.

In our case we had...

register_taxonomy("Types", array("portfolio"), array("hierarchical" => true,
    "label" => "Types", 
    "singular_label" => "Type", 
    "rewrite" => true));

This is a frustrating error because you simply get the "Cheatin uh?" message. Here's the fix

register_taxonomy("types", array("portfolio"), array("hierarchical" => true, "label" => "Types", "singular_label" => "Type", "rewrite" => true));

Notice the difference? The fix is your custom taxonomy's name has to be lower case. That should save you a couple hour hunt down a rabbit hole.


Active Projects

I'm always tinkering with new ideas and building interesting things. From AI-powered tools to micro-SaaS products, these are the projects currently keeping me up at night. Each one solves a specific problem I've encountered or explores an emerging technology I'm excited about.

๐Ÿค– PMPrompt

I recently launched PMPrompt, a curated collection of AI prompts for product managers. The goal is simple - help PMs save time and be more effective by leveraging AI in their daily workflow. Read more about this project in my blog post about building PMPrompt or try the AI-Powered PRD Generator.

๐Ÿ“Š SurveySnaps

I recently launched SurveySnaps, a platform that makes collecting location-based feedback dead simple using QR codes. The goal is straightforward - help businesses gather real-time feedback from specific locations without the complexity of traditional survey tools. Read more about this project in my blog post about building SurveySnaps.

๐Ÿ—๏ธ JSONL Tools

I am working on a set of tools to help me work with JSONL. JSONL is a simple format for working with JSON data. I am working on a set of tools to help me work with JSONL data. I will use these tools to help me work with my own data as well as help me build my own APIs. One of the tools I am developing is a JSONL Validator to ensure the integrity and structure of JSONL data. Read more about this project in my blog post about building JSONL Tools.

๐Ÿค– Make Storytime

Personalized children's stories generated by AI. This is an app I am building with my kids.

๐Ÿ“  Fax Online

Yea, I know. But there is a long tail for everything and believe it or not there was an underserved market for people that need to send a fax online. Some people (like me!) just need to send a one time fax.

Read more about this micro Saas project in a blog post about building an online fax service.

๐Ÿฅ‘ Free URL Indexer

Free URL Indexer is a free tool to help you index your backlinks and get them into Google faster. It's a simple tool that I built to help me with my own SEO efforts and I decided to share it with the world. It's a free tool and I don't even ask for your email address. Just paste in your URL and click the button.

๐Ÿ‘‰ See all projects