I need to display user data in several different ways, so I need a way to differentiate which shortcode was used. For instance, I need a list of all users with a certain role which will list their name, company, email, phone. But elsewhere, I need to list users with that same role, but only their company name.
There only seems to be one template to customize, so I don’t think I can make a separate template for each type of listing I need. I also don’t seem to be able to give the shortcodes a name to check for in the template and alter the display that way.
Is there any guidance you could give me on how best to accomplish multiple display formats?
- The topic ‘Best way to display users in several different formats’ is closed to new replies.