I’m not sure how to explain what I need. I have a directory of staff that is called by short code. I want to have the contact page list the departments and then use the short code to get the directory for that department.
Department A (link to [staff-directory cat=2]
Department B (link to [staff-directory cat=3]
Do I need to create a separate page for each category? Is there a way to have the link run the short code and show the correct category?