Close

March 6, 2012

How to Get Post Type in the Admin Area

I was busy writing a plugin today and was needing to know which post type I was dealing with in the WordPress admin. I must have done this a dozen times before and I seem to write it slightly differently every time…

Related Articles:

[related_posts]

Latest on WordPress (LatestWP) was established in 2010 to serve the WordPress community as a reliable source of information, news, tutorials, tips, themes and plugins reviews, and more. Stay tuned with us at the following Social Media channels.

Related Post

Spice-up your WordPress Code Editor with the Advan... If you are anything like me, you need all the help you can get when it comes to adding and editing code in WordPress. Whilst I have a good understandi...
How To Create Your Own Custom Page Templates Pages are hugely useful when using WordPress as a CMS, and when you’re making a website, it’s not uncommon for two pages to have entirely different la...
How to Add Page Slug in Body Class of your WordPre... If you work on WordPress themes on a regular basis, then it is probably best to familiarize yourself with these default WordPress generated CSS cheat ...
WordPress Custom Post Type Code Generator Fill out the form to generate your custom post type code. Read more about how I made this code generator...

Leave a Reply

Your email address will not be published. Required fields are marked *

Pin It on Pinterest

Share This