I really want to find out what the Custom Post Type is for the SHOPP plugin - is there any way you can fish it out from WP in the code or in the admin? May come in useful to customise other plugins and such.

This is specifically for SHOPP plugin right now, so if anyone knows what it is (or if it has one?!) that would be helpful.



Look in your database, it'll be in the posts table under the post_type column for each product.

Or alternately- search the plugin files for calls to register_post_type.

Or depending on how the plugin works on the admin side, the URL of the edit screen may tell you: edit.php?post_type=some_post_type

  • Yep, it's named shopp_product. Also, Shopp just started using custom post types in the 1.2 beta which still is a bit rough around the edges. For example, currently it does not seem possible (at least in the traditional sense), to add custom meta boxes or even things like custom fields to the shopp_product CPT. This issue is logged in their bug tracker. – Dave Romsey Sep 5 '11 at 17:33
  • Im not sure that the version i am using; 1.1.9 actually uses custom post types at all - i tried the shopp_product as one and seemed to have no effect – Infocentre Sep 6 '11 at 9:00
  • @Infocentre - it looks like custom post types and taxonomies were added in the new 1.2 beta. – Milo Sep 6 '11 at 15:09
  • @milo - gotcha. So is there anyway to distinguish Shopp pages from regular pages in some kind of template manor? – Infocentre Sep 7 '11 at 10:36
  • There are several Shopp conditional tags, for example is_shopp_page(). More can be found at shopplugin.net/api/category/develop – Jason Dec 14 '12 at 11:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.