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


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)

The topic ‘show acf-fields on 404.php’ is closed to new replies.