Plugin Author
elfin
(@elfin)
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.
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. Please use the pastebin]
Hi, can you direct me where to add the eshop_post_types filter?
It is in the file eshop-product-entry.php near the top.
change:
$array=array('post', 'page');
Plugin Author
elfin
(@elfin)
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.
Rich,
Could you post an example snippet for adding a custom post type filter for eshop_post_types?
http://quirm.net/forum/topic.php?id=2850
that page shows how to do this properly with the filter he was talking about….