I've been trying all kinds of things but I can't get it to work cuz my Theme single.php looks different that usual.

I made a field in ACF named Region and then enter for example USA which I need to show up in my post meta, like the edited screenshot below: enter image description here


And ofc all works fine at the back-end but I can't figure out what to type and where to place it in my single.php to show up on the front-end.

This is what my single.php looks like: enter image description here

Now I tried to copy their style like the ;title'=> etc, tried to paste the snippet from ACF but nothing is working which most likely is because I screwed up and it's probably easy for someone that has more exp with ACF but it's hard for me. I need to this on several other websites with different values so if someone get point me in the right direction I will use it a lot and would be very grateful.


  • 1
    Please don't post code snippets as images; edit your question and insert the actual code into the editor. You can use the "code sample" button ({}) in the editor to format your code. Also, if this is a "how do I use ACF" question, you're likely to have more luck asking ACF's support team.
    – Pat J
    Jun 21, 2022 at 19:46
  • ACF has tons of documentation: the opening tutorial in their documentation.
    – deflime
    Jun 21, 2022 at 20:17
  • @deflime Please be kind.
    – Howdy_McGee
    Jun 22, 2022 at 4:35
  • @deflime I know but as this theme single.php is a bit weird, I haven't found a snippet that has worked so far. Jun 22, 2022 at 9:08

1 Answer 1


You had to use this code

get_field( "region" );

this will get you the region value of current post

  • Unfortunately it didn't work. I tried to put it below title and no result, I also tried to format it like they did, so under title: 'region' => get_field(), but no luck. :( Jun 22, 2022 at 9:17
  • can you try passing the post id like this get_field( "region", 123 ); in see if it works
    – Ahmed Abdo
    Jun 22, 2022 at 10:22
  • Unfortunately did not work plus I don't need it on a single post ID ofc. Jun 22, 2022 at 12:31
  • can you send the code where you trying to use ?
    – Ahmed Abdo
    Jun 22, 2022 at 13:48
  • Its in the first post, the single.php Jun 22, 2022 at 19:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.