How to create shortcode from Standard Field

This topic contains 4 replies, has 3 voices, and was last updated by  Alex Rollin 5 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #479398

    Derek Brown
    Expired Member
    Post count: 28

    How can I access a standard field and create a shortcode with it? I will be using that shortcode and adding it to gravity forms so that the contact form on the listings page will be sent to the owner of that page. Your ninja forms extensions requires the customer to enter an email address, which is pretty much useless. The form should take the email address from the listing email field so that the contact form automatically belongs to the listing owner.
    Thanks for your assistance

    #479582

    Kor
    Moderator
    Post count: 16516

    Hi Derek Brown,

    Thanks for your post. I will forward this to a developer for a second look.

    Thanks!

    #479583

    Alex Rollin
    Moderator
    Post count: 27815

    Hi Derek,

    the NF form is sent to the ’email’ field of the listing, as described here:
    https://wpgeodirectory.com/docs-v2/integrations/ninja-forms/

    The email field in the form itself is for the site visitor to fill in their own email.

    The integration is accomplished through a feature of GeoDirectory that supplies the included “GeoDirectory Contact Form”. Merge tags for GD Custom Fields are not supported at this time, but more integrations are coming in future versions. However at this time an integration for GF is not available and so it would be a customization outside of support.

    Please let us know if you have further questions

    #480398

    Derek Brown
    Expired Member
    Post count: 28
    This reply has been marked as private.
    #480420

    Alex Rollin
    Moderator
    Post count: 27815

    You can find the key for each field in the custom fields settings. Use that to query the field values.

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount