Home Forums General Issues Newbie – Display custom posts to related users


Newbie – Display custom posts to related users

  • I am building a product using ACF and Elementor for a school. The school will offer different cohorts (custom post). There are documents (custom post) associated with each cohort (through ACF relationship). Each student will be given a user account connected to a cohort (through ACF relationship).

    Upon login I want to display only the documents that are related to the cohort that the user is part of.

    Is there an elegant way of doing this?

  • I would

    Create a page template that shows information based on the current user that is logged in. This would be the simplest method because the URL would be the same for all users. The page template would show information based on the user that is currently logged in.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.