I’m trying to work out an easy way for a client to edit a schedule for staff working on various days in a 2 week period. The end result is to be a page showing 14 fields, one for each day in a 2 week period. In each field would be a list of the staff names separated by a comma and each would should be a link to the staff member’s post.
Each staff member currently has a post with their first name as the post title in a custom post type called Models.
Problem: I have a View built in a Content Template that displays on all posts in a custom post type. If the View does not display results, I would like to hide the corresponding header text in the template.
Solution: Move the header text into the view itself, and use a conditional block to hide it if the number of results found is less than 1.