I have a problem with the Post Object option.
Here is the thing. I have a custom posttype named Testimonials. That custom post type contains a excerpt.
No i have some pages that need the excerpts of some Testimonials pages.
So i use the advanced custom field option Post Object.
In my page template I use the example from the site:
<ul>
<?php foreach(get_field('post_object') as $post_object): ?>
<li><a href="<?php echo get_permalink($post_object->ID); ?>"><?php echo get_the_title($post_object->ID) ?></a></li>
<?php endforeach; ?>
</ul>
But when i check the page the page is giving me the permalink's and the titles of the page im already on it. It makes a list of 25 items with the same.
Example: http://www.trustpayrolling.nl/wordpress/onze-klanten/
What do i do wrong?
Here is the full code of the page:
[Code moderated as per the Forum Rules. Please use the pastebin]