• Hello, I am trying to pass a custom field value into a php code snippet which I have added on a customised listing page – however I seem unable to do this as the custom fields seem to be post types and I don’t know how to return the value from this. Can you tell me how I might do this? thanks in advance..

Viewing 1 replies (of 1 total)
  • Plugin Author pluginsware

    (@pluginsware)

    Hi,

    Actually, Our custom fields are Custom Post Type named “acadp_fields”.

    Kindly open the file class-acadp-admin-listings.php from the below path and refer save_meta_data function.

    wp-content/plugins/advanced-classifieds-and-directory-pro/admin/class-acadp-admin-listings.php

    Our custom fields are Custom Post Type named “acadp_fields”. They are linked to the listings post type (acadp_listings) as post_meta and stored using the field id.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘call custom field’ is closed to new replies.