Accueil › Toolset Professional Support › [Résolu] 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.
Ce sujet contient 1 réponse, a 1 voix.
Dernière mise à jour par MargeP6083 Il y a 5 années.
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
lien caché
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"]lien caché">Click to create your Profile[/wpml-string]
[/wpv-no-items-found]
[wpv-layout-end]
My issue is resolved now. Thank you!