Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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=true

    #1247506

    Hey 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,
    Rikard

    #1247640

    It 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

    #1248987

    Hi,

    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,
    Ismael

    #1249406

    If 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 ago by andreane1.
    #1249990

    Hi,

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.