Tagged: advanced custom fields
-
AuthorPosts
-
September 17, 2020 at 8:33 pm #1246594
Hi, I am having problems displaying the advanced custom fields with the Enfold Theme. I can get them to display but they do not display correctly
Here is the website from which they are imported and how they display. We installed the same version of ACF Pro and Search and filter Pro
Here is what I see :
https://secure-it-pro.com/roseph_new/?p=677&preview_id=677&preview_nonce=0e39bcd4e8&preview=trueSeptember 22, 2020 at 4:38 am #1247506Hey andreane1,
Sorry for the late reply. I’m not sure I understand the problem, since you are not running Enfold on the site. Could you try to explain a bit further please?
Best regards,
RikardSeptember 22, 2020 at 3:24 pm #1247640It runs fine on the site not using (roseph.ca) but I cannot get it to run on my site which is using Enfold (https://secure-it-pro.com/roseph_new/ ) even though I have iported the pages from the other site. I have attempted to edit the single.php file. It will then display the custom fields but not correctly
September 28, 2020 at 1:33 pm #1248987Hi,
Thank you for the update.
Which part of the repertoire-des-membres page are the custom fields? Please post a screenshot using imgur or dropbox so that we can better understand what you did in the previous template.
Where and how did you place the custom fields previously?
Best regards,
IsmaelSeptember 29, 2020 at 3:58 pm #1249406If you search for a region in this page you will see the post displayed empty
https://secure-it-pro.com/roseph_new/?page_id=37
All my post contains custom fields that do not display in the enfold theme
Screenshot of post are available here
https://1drv.ms/u/s!Alxw3yp_y0w-ka1vHHNW04jkPKBwWA?e=J3XYhD- This reply was modified 4 years, 1 month ago by andreane1.
October 2, 2020 at 8:36 am #1249990Hi,
All my post contains custom fields that do not display in the enfold theme
The custom fields have to be added manually in the template. They will not be included in the default content automatically. If you are using the ACF plugin, you could use the get_field function, but if not use the get_post_meta function instead to fetch the value of the a custom field and render it in a template. For the post, you have to modify the single.php file or the includes > loop-index.php file.
// https://www.advancedcustomfields.com/resources/get_field/
// https://developer.wordpress.org/reference/functions/get_post_meta/If you search for a region in this page you will see the post displayed empty
Unfortunately, we do not provide support for third party plugins as stated on our support policy. Please contact the plugin developers for additional assistance regarding the filter plugin.
Thank you for your understanding.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.