• Resolved oncbara

    (@oncbara)


    Hi,
    Thanks for your plugin, very useful.
    I have purchased the premium version (4.9.14) and I have a problem : I can’t add custom field in the template.
    I have tested to add both SCF shortcode and traditional %shortcode%.
    But nothing appears at all on the page.

    Here is a screen capture
    Can you help me, please ?


    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Daniel Floeter

    (@kometschuh)

    Do you have set up a ACF/SCF field called: date_de_reunion and have this field some text for each post?

    Here is a short HowTo with screenshots: https://tiptoppress.com/acf-shortcode-in-the-template/

    Thread Starter oncbara

    (@oncbara)

    Thanks for your help.
    I have of course created a SCF field called “date_de_reunion”.
    This custom field works fine in the template with the free version of the plugin. But not with the premium version.
    Do you have any idea ?

    Plugin Author Daniel Floeter

    (@kometschuh)

    Thank you for writing twice.

    After long debugging and reading and reading. We found what we’ll support. The added security level from SCF/ACF is for multi sites with many admins or editors. Smaller websites know what they added at there posts and pages and allow Shortcode have low risk. If that works for you. We wouldn’t implement some code to Term and Category based Posts Widget and only add documentations and FAQs on our website. It works for SCF and ACF in the same way.

    You have to do two steps:

    1. Endable Shortcode https://www.advancedcustomfields.com/resources/shortcode/#enabling (We recommend a Code Snippets PlugIn to add that PHP code, like Woody code snippets)
    2. Allow Access https://www.advancedcustomfields.com/blog/acf-6-3-6/#field-value-access-editor (ACF/SCF > Field Groups > Fields > Presentation > Allow Access to Value in Editor UI)
    Thread Starter oncbara

    (@oncbara)

    Thanks for your answer.
    I do the 2 steps and it works fine now !

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Custom fields in the template doesn’t work’ is closed to new replies.