Hi!
I am using the following code to display a list of related posts. This works well - but will only show 5 posts. There should be 11, not 5.
When I add a new related post in backend, this newest one is added to the 5 but another one will drop out so the max number of 5 remains the same. I have no Idea why that is so. Can you help?
Thank you!
{% set current_post_id = mb.get_the_ID() %}
{% set args = { post_type: 'my-job', relationship: { id: 'post-to-job', from: current_post_id } } %}
{% set job_posts = mb.get_posts( args ) %}
{% for job_post in job_posts %}
Related Job: {{ job_post.post_title }} <br />
{% endfor %}