Support

Account

Home Forums General Issues Custom fields inside Twig Template using Realia Theme Reply To: Custom fields inside Twig Template using Realia Theme

  • Hi !

    I’m working too with Realia template and I want to thank you for your code !
    I add an ACF field in my properties post and now I want it to be a part of the front end submission. All I did for the moment is to display the ACF field in property page and a textarea in front end submission. However I don’t know how to save the field value with the add button…
    Do you ( or someone else ) have an idea ?
    I found the button code in add.twig but it is related to aviators so I’m lost..

    Button code

    <div class="form-actions">
                {% set value = wp.__('Save', 'aviators') %}
                <input type="submit" class="btn btn-primary" value="{{ value }}">
            </div>