@ ssnoomann
re: As there is no Demo of this extension I am not sure what I should expect.
When the plugin is activated and the contact block for the contact form enabled you will see a contact form on the entry’s detail page as shown in these screenshots.
If you are not seeing this contact form there are two things to check:
- Ensure the Contact plugin is installed and activated on the WordPress Plugins admin page.
- Ensure that you have enabled the email entry content block on the Connections : Settings page under the display tab.
re: Here is the code snippet that I was referring to
You are referring to the code in this reply in the other thread, correct?
Looking at the code you pasted in this thread, I can see it was altered. Use the code as is, do not change it. The alterations that were done make it nonfunctional.
re: Looking at this code more closely it appears that it is referencing First Name. I do not use the name fields, only the Organization name.
If you are adding the entries as “Organizations”, the code is just fine, please leave it as is. The getName() function is “smart” and will return the org name if the entry is an “Organization” regardless of the settings for the name format.
Hope this answers your questions thoroughly!
