Title: [Plugin: eShop] Adding to Custom Posts
Last modified: August 19, 2016

---

# [Plugin: eShop] Adding to Custom Posts

 *  Resolved [Candace](https://wordpress.org/support/users/aunrea/)
 * (@aunrea)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-eshop-adding-to-custom-posts/)
 * Is there a way to have custom post types have products added to them? Or will
   it only work with regular posts?

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Anonymous User
 * (@anonymized-3085)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-eshop-adding-to-custom-posts/#post-2009701)
 * can be done via a small plugin, just add a filter to: eshop_post_types
    it contains
   an array, so either add to or replace it.
 *  Thread Starter [Candace](https://wordpress.org/support/users/aunrea/)
 * (@aunrea)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-eshop-adding-to-custom-posts/#post-2009724)
 * THANKS! That did it!
 *  Thread Starter [Candace](https://wordpress.org/support/users/aunrea/)
 * (@aunrea)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-adding-to-custom-posts/#post-2009803)
 * Now how do I get eshop custom fields to shop in my custom post type admin area?
   I have the code below but it doesn’t work:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *  [Stelios Sbyrakis](https://wordpress.org/support/users/sbyrakis/)
 * (@sbyrakis)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-adding-to-custom-posts/#post-2009883)
 * Hi, can you direct me where to add the eshop_post_types filter?
 *  Thread Starter [Candace](https://wordpress.org/support/users/aunrea/)
 * (@aunrea)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-adding-to-custom-posts/#post-2009884)
 * It is in the file eshop-product-entry.php near the top.
    change: `$array=array('
   post', 'page');`
 *  Anonymous User
 * (@anonymized-3085)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-adding-to-custom-posts/#post-2009886)
 * no you don’t need to do that at all.
 * you create a filter for the eshop_post_types array, and add it in there. there
   is no need to edit eShop core files.
 *  [qubestream](https://wordpress.org/support/users/qubestream/)
 * (@qubestream)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-eshop-adding-to-custom-posts/#post-2009906)
 * Rich,
    Could you post an example snippet for adding a custom post type filter
   for eshop_post_types?
 *  [trothmaster](https://wordpress.org/support/users/trothmaster/)
 * (@trothmaster)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-eshop-adding-to-custom-posts/#post-2009953)
 * [http://quirm.net/forum/topic.php?id=2850](http://quirm.net/forum/topic.php?id=2850)
 * that page shows how to do this properly with the filter he was talking about….

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘[Plugin: eShop] Adding to Custom Posts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/eshop_d6e4b8.svg)
 * [eShop](https://wordpress.org/plugins/eshop/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eshop/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eshop/)
 * [Active Topics](https://wordpress.org/support/plugin/eshop/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eshop/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eshop/reviews/)

 * 8 replies
 * 5 participants
 * Last reply from: [trothmaster](https://wordpress.org/support/users/trothmaster/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-eshop-adding-to-custom-posts/#post-2009953)
 * Status: resolved