Inicio › Toolset Professional Support › [Resuelto] How to hide "create a profile" link on account page if the user has one
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.
Este tema contiene 1 respuesta, tiene 1 mensaje.
Última actualización por MargeP6083 hace 5 años.
I want the user to see the link for Create a Profile on the "My account" Page. If the user already has created the profile, I want the user to see nothing.
This post below says the user can create a profile, but doesn't talk about the flow of how the user gets to the "Create Profile" page
enlace oculto
thank you!
I realized the solution is in the View:
[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<wpv-loop>
[wpv-post-body view_template="loop-item-in-current-profile"]
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
[wpml-string context="wpv-views"]enlace oculto">Click to create your Profile[/wpml-string]
[/wpv-no-items-found]
[wpv-layout-end]
My issue is resolved now. Thank you!