Problem:
I imported a membership website from Drupal to WordPress via a plugin (FG Drupal to WordPress Premium ). I now have a Custom Post Type (CPT) setup called Membership Profile that have all the user fields setup in it.
My question is how do I put them together so that the WordPress User account is tied together with their corresponding Member Profile?
Solution:
I suggest you setup the author of each "Membership Profile" post as the corresponding wordpress user.
If the custom post type "Membership Profile" is created with Types plugin, you can enable the "author" metabox by this:
Edit the post type "Membership Profile", in section "Sections to display when editing", enable the option "Author", when you edit a "Membership Profile" post, you will be able to setup it's author, more help:
https://codex.wordpress.org/Function_Reference/register_post_type#supports
In front-end, you can create a view lists "Membership Profile" posts filter with:
Post author is the same as the logged in user
https://toolset.com/documentation/user-guides/filtering-views-query-by-author/
In the view's loop display a CRED editing form link for user, update the "Membership Profile" post information
Relevant Documentation:
https://toolset.com/documentation/user-guides/displaying-cred-editing-forms/
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Hong_Kong (GMT+08:00)
Este tema contiene 3 respuestas, tiene 2 mensajes.
Última actualización por hace 6 años, 7 meses.
Asistido por: Luo Yang.