WordPress.org

Ready to get started?Download WordPress

Forums

Store Locator Plus
Store Pages Custom Meta (2 posts)

  1. guhru
    Member
    Posted 1 year ago #

    I want to use the data in the store page to be written to a custom meta field for use in another plugin.

    I tried to add the following line to the function CreatePageContent($store) in slp-pages.php

    update_post_meta($slpStorePage->ID, 'partner_email', $store['sl_email'] );

    but it is not getting defined. Any suggestions.

    http://wordpress.org/extend/plugins/store-locator-le/

  2. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    Check to make sure the $store named array is set properly before your update_post_meta() call.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.