How to show a custom ACF text field in single blog post page

This topic has 8 replies, 2 voices, and was last updated 2 years, 11 months ago ago by Olga Barlow

  • Avatar: ziga32
    ziga32
    Participant
    January 12, 2022 at 16:19

    Is there a way to show a custom ACF text field in single blog post page, without having to build it in elementor?

    7 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 13, 2022 at 10:54
    Avatar: ziga32
    ziga32
    Participant
    January 13, 2022 at 11:15

    but what xstore file do I edit?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 13, 2022 at 11:57

    Hello,

    Copy xstore/single.php file to child theme and edit that according to your needs.
    Don’t make changes directly in the parent theme because you’ll lose them after the theme update.

    Regards

    Avatar: ziga32
    ziga32
    Participant
    January 13, 2022 at 12:32

    Thank you, works great, would you mind telling me which file to edit if I want to put the custom field here, on blog archive
    https://www.kolesa-newbike.si/blog/
    https://i.imgur.com/zhH4UXV.png

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 13, 2022 at 17:40

    Hello,

    You are welcome.
    Copy and edit xstore/content.php file.

    Regards

    Avatar: ziga32
    ziga32
    Participant
    January 13, 2022 at 19:35

    perfect, thanx!

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 14, 2022 at 06:38

    Hello,

    You are welcome.

    Regards

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘how to show a custom ACF text field in single blog post page’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.