Support

Account

Home Forums Front-end Issues Query to display all posts with ACF relationship value Reply To: Query to display all posts with ACF relationship value

  • Hi Jonathan and Wells5609;

    I’m getting more and more lost! Lol. Basically the posts which has selected a certain Company custom post shows up beautifully as “related posts” in that Company’s single-company.php using this query on my single-company.php.

    However I’ll require a link to “View More” after showing only 3 posts as related posts which should point to an archive page of posts which has the Company selected.

    Like Jonathan said, “since there’s no default archive for posts queried by meta value”, I am stuck 🙁 Unfortunately, his solution yielded an error saying that no posts exist at the URL: http://example.com/companies/?company=225

    Helppp D: