Hi Themeco.
I have everything set up (child theme and the rest) but I’m finding it difficult to add custom field from ACF to my archive pages.
I used this code
<?php echo get_post_meta($post->ID, 'my_field_key', true); ?>
But it didn’t work on Archive Pages. It only worked on normal pages.
I tried to implement the solution in this thread:
But it didn’t work either.
This was the solution in that thread:
<php the_field('post_html'); ?>
I replaced 'post_html'
with 'my_field_key'
Please help. Thanks.