“Send file” with ACF integration
-
-
Francesco CeccanoMember# 3 years, 4 months ago
Hi, I added three fields in the Send file page and I want to import the values in it outside the plugin. One way to get this could be through the correspondent email placeholder, but it doesn’t appear in the list Available Placeholders (/wp-admin/options-general.php?page=wpca-settings&tab=cuar_notifications).
Is it possible to export all the values in the “send file” form page (e.g.: Author, file URL, Title, description, ACF fields, time stamp)? Which ways are available to get these data?
-
ThomasKeymaster# 3 years, 4 months ago
Hi,
I think that you can use the {{post_meta,my_meta}} placeholder.
Let’s say your field slug is file_upload, you might try this: {{post_meta,file_upload}}
However, it depends where you want to use this. Placeholders actually work for notifications.
If you need that anywhere else, simply use ACF get_field() function.
Regards.
Want to help WP Customer Area? It only takes few seconds!
Rate & review the plugin on WordPress.org 🙂 -
Francesco CeccanoMember# 3 years, 4 months ago
Thank you, it’s working fairly. Unfortunately the file pages aren’t displaying in the correct way. I attach a screenshot to make it clear.
the website is running Enfold theme, but it’s set to override it’s theme with native Cuar’s one.
shortly, it seems that the metadata are sharing the same container with the basic info, printing one on each other.
what could fix this?
-
ThomasKeymaster# 3 years, 4 months ago
Please, just wrap all your fields into a “group” field and it should fix your issue. We are using “Group” fields to render Panels.
Regards.
Want to help WP Customer Area? It only takes few seconds!
Rate & review the plugin on WordPress.org 🙂
-
The topic ‘“Send file” with ACF integration’ is closed to new replies.