Reassign post data didnt work
-
Hello, i’m trying to output stories with third party author. And to od this i’m using Advanced Custom Field Post Object field. So when im try to get author post
<?php $story_author = get_field( 'story_author' ); $post = $story_author; setup_postdata( $post );?>
Ajax load more do nothing with that, and when i call the_title() its return me the title of story, and not author.
Without plugin it works perfectly.
Can you look in it?
Thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Reassign post data didnt work’ is closed to new replies.