Support

Account

Home Forums Front-end Issues show acf-fields on 404.php

Solved

show acf-fields on 404.php

  • hello, i want to show my contact information on the 404.php. i want to use the same field as i use for the contact page but i couldn’t use that because of the show if settings. so i tried to use a acf option page so that the info would be global, but that also doesn’t work eather.
    can someone help me with this

    (i use acf pro)

  • Hey Bassapguy,

    Have you tried to put your code in 404.php:
    <?php the_field('MY_FIELD', XX); ?>
    Where XX is your contact field ID?

  • thank you for your response, we discussed with our team and we worked around the issue!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.