Add ACF the_field to previous_posts_link
-
Hello,
i am trying to add the value of a custom field to the next_post_link, but it seems i am failing. My code is
`<?php previous_posts_link(‘more’); ?>
Instead of “more” it would like to add the_field(‘more’, 2); but my php knowledge is failing me. Can anyone help please?
Ty
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add ACF the_field to previous_posts_link’ is closed to new replies.