The additional feature would be to construct a block with a UI to configure the underlying short code for inclusion in any page/post. The features are:
select which common/membership/system fields to include in the directory
allow pictures to be selected as part of the search result (this will require Download picture API call)
enable filtering on the common/member/system field data with AND and OR clauses
disable/enable searching (as currently available in the current short code plugin)
show a table or grid of the directory
expose CSS styles available to any theme to customize
show the specific contact/member with a similarly configured set of common/membership fields
All fields marked as Access: Nobody should never be displayed in a directory or a profile view, but should be available for filtering.
Access control is a v2 implementation and can be left out for now.
This is the main improvement over @poxrod's code for the wa_contact and wa_profile short codes implemented on v.0.10.6
Currently the short codes allow
2 API calls are used: https://gethelp.wildapricot.com/en/articles/503-contactfields-admin-api-call - gets the contact field meta data
Here's an example JSON structure from production
https://gethelp.wildapricot.com/en/articles/502-contacts-admin-api-call - gets the contact/members data
The additional feature would be to construct a block with a UI to configure the underlying short code for inclusion in any page/post. The features are:
All fields marked as Access: Nobody should never be displayed in a directory or a profile view, but should be available for filtering.
Access control is a v2 implementation and can be left out for now.