Title: Get post custom values &#8211; connect2mage plugin
Last modified: August 19, 2016

---

# Get post custom values – connect2mage plugin

 *  [Jess](https://wordpress.org/support/users/jessn/)
 * (@jessn)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/get-post-custom-values-connect2mage-plugin/)
 * Hi everyone! I’m trying to use the [connect2MAGE](http://inchoo.net/wordpress/connect2mage-wordpress-plugin-for-easy-magento-database-connection/)
   plugin to connect my WordPress blog with a Magento database. I have it all installed
   but I’m confused about the custom field aspect of it.
 * On their site they say “_Below is a little example of using $MAGEDB to connect
   to Magento database and retrieve some products by reading id’s from custom field
   of some post inside your WordPress._“
 * And in the code:`
    $entityIds = get_post_custom_values(get_option(‘connect2MAGE_CustomFieldName’));`
 * I know I’m supposed to do something with the posts’ custom fields but I’m not
   sure what. Anyone have an idea?
 * Thanks so much!

Viewing 1 replies (of 1 total)

 *  Thread Starter [Jess](https://wordpress.org/support/users/jessn/)
 * (@jessn)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/get-post-custom-values-connect2mage-plugin/#post-1296280)
 * Bump?

Viewing 1 replies (of 1 total)

The topic ‘Get post custom values – connect2mage plugin’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Jess](https://wordpress.org/support/users/jessn/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/get-post-custom-values-connect2mage-plugin/#post-1296280)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
