|Posted: Friday Jul 6th, 2012 at 2:58 pm #18499|
I am attempting to create a page template that will show only the posts for specific users with a given custom capability. I have incorporated some of the input from “Creating a Client Portal” video to set up users and posts, i.e. by utilizing custom capabilities. My problem, however, is creating the feed that only shows posts with the assigned custom capability. I have scoured the API and support forums but thus far have not found what is needed. My last effort used the is_permitted_by_s2member() function, which did not work. Basically I want to filter the post with custom capability equal to the designation and then display only these posts.
Any ideas? Thanks!!
- s2Member® Products