So I am using the people add on. I have a people type “Board of Directors” and a people type “Executive” and I want to display both on one page with Executive coming first on the page and then the Board of Directors.
What is the best way to go about this ?
The people who are on the Executive are part of the Board of Directors so I am open to “sorting ” the people type Board of Directors by excerpt (thats where I placed their TITLE) or adding a custom field Title to people and if it exists sorting by that field.
FYI – I have added a filter to functions.php to sort by last name
Thanks a million Josh, your code was really helpful
As an FYI for others, I created a custom template taxonomy_espresso_people_type-board-of-directors (board-of-directors is the name of my people type).
I basically restarted the loop when the people type ID was not the people type I wanted to include. I also added a ‘posts_per_page’ => ‘-1’, to get all of the people on the one page.
Heres the gist: https://gist.github.com/henihan/5c8be0bd92de7b361a1b2e9a1ab15d0e
Hope this helps
Thanks,
Steph
Viewing 2 reply threads
The support post ‘People Add on – Display multiple people type on a single page’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.