Hi there,
I am developing a new site baste on wp-type & sahifa theme. i need some assistance finding the best practices for some parts of the site, mainly the Therapists Index.
So, what do we need? 🙂
Users & Permissions:
(See attached image)
Front end views:
1. "Main index page" - list of therapists cards & parametric search
2. "index card page"/"therapists extended author page" – all data of the therapists + list of posts / events / products by that user.+ some reach media like a gallery, video embed, + contact form
3. Basic "author" page for teachers
Questions:
1. Should I use user as the base for the index or a custom post type?
a. if I go for the user entity and add custom fields to the user, how can I customize the basic "author" page and include a wide range of content over there (custom fields, gallery, video, post list….)? as far as I know I cannot create a parametric search on a users list? (and its only one Type of users)
b. on the other hand, if I create a post type for "Therapists" so I can run a parametric search on it (in addition to the user I need for permissions) – how can I connect the "author" link to the therapists card page in the index (301???)? how can I loop all content by the same therapists to a list? What do I do with the teachers that contribute content but do not have an entity in the index?
c. Is there another option I didn’t think about? Should it include an integration of Bothe?
2. Is it possible to give content contributors a simple ui for updating posts & profile data? (never tried that with types)
3. How should I build the rules in the wp-access plugin?
4. How can I re-write the card page url to be hidden link?
(or is that something that is out of your area of responsibility?)
You should play with test sites and by following tutorials and check the feasibility of your requirements and make sure whats you can do with Toolset.
Questions:
1. Should I use user as the base for the index or a custom post type?
=> Better us CPT
a. if I go for the user entity and add custom fields to the user, how can I customize the basic "author" page and include a wide range of content over there (custom fields, gallery, video, post list….)? as far as I know I cannot create a parametric search on a users list? (and its only one Type of users)
=> Correct - you can not create parametric search for users
b. on the other hand, if I create a post type for "Therapists" so I can run a parametric search on it (in addition to the user I need for permissions) – how can I connect the "author" link to the therapists card page in the index (301???)? how can I loop all content by the same therapists to a list? What do I do with the teachers that contribute content but do not have an entity in the index?
=> You can try to control it using [wpv-conditional] shortcode inside the view's loop output or use Toolset plugin ACCESS - you should check first
'
c. Is there another option I didn’t think about? Should it include an integration of Bothe?
=> No
4. How can I re-write the card page url to be hidden link?
(or is that something that is out of your area of responsibility?)
=> You may try to check with the additional plugin available.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.