Make custom post type edit page one column
Just a quick snippet. In case you need to make a custom post type screen be one column, you need to add/modify two filters. This example uses CPT_Core:
The random technical musings of Justin Sternberg
Recent technical notes
Technical notes, WordPress code, and durable snippets from Justin Sternberg.
Just a quick snippet. In case you need to make a custom post type screen be one column, you need to add/modify two filters. This example uses CPT_Core:
There is no excerpt because this is a protected post.
This is written for PHP and/or WordPress, but the principle applies to any server-side language. First we’ll we’ll create a php function for determining our environment: This function will return 1 for…
After maintaining CMB for some time, I’ve had to learn some of the principles in the following articles the hard way, and am planning on integrating those that I haven’t yet. “Merge pull request” Considered Harmful…
Alfred workflows is a new min-hobby for me, and as I create them to make my life easier, I’ll do my best to share them here. Alfred Gets Giffy (wit it): Alfred workflow…
The Clean Code Talks – “Global State and Singletons” Why Singletons have no use in PHP Testing Code That Uses Singletons Making Singletons Safe in PHP The “Missing” Patterns of the PHP…
If you’ve ever tried a web search for something like “top web hosts” or “best shared hosting,” you know that finding legitimate information is much like finding The Loch Ness Monster. A…
Basecamp classic showed a light yellow highlight under tasks assigned to me, but NEW Basecamp seems to have lost that UX feature. If you want a quick way to toggle those highlights,…