So, I'm creating a dating site.
I have created a Profile CPT where every user can create only one their own profile post.
I have created two Forms to edit the Profile post information.
Using Toolset Form button I have added the edit post link in the page template, but I need to insert the edit link into main menu.
Well - I need to check what edit link it generates. Could you please tell for which form you want to add an edit link to the main menu.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.
As I understand, you want to display edit post link to current loggedin user - correct? So, I've a question here, how to know -what profile post belongs to which user. Is it based on the current loggedin user - that means post author - correct? If so - we need to find the profile post whose author is belongs to current loggedin user.
Let me know if I misunderstood anything here.
In addition to that - you want to display the profile link in left menu after the menu item "REGISTER MODAL LINK" - correct?
As I understand, you want to display edit post link to current loggedin user - correct? So, I've a question here, how to know -what profile post belongs to which user. Is it based on the current loggedin user - that means post author - correct? If so - we need to find the profile post whose author is belongs to current loggedin user.
Yes it is all correct.
In addition to that - you want to display the profile link in left menu after the menu item "REGISTER MODAL LINK" - correct?
I need to have the Profile edit link and Adding Photo link before "Messaggi 0", but them should be the second and the third menu items. For now I don't have added the first item menu because I have opened a ticket to solve some issue about the content of the first item menu.
Hi, thanks for the solution, but now I have the following issues:
I have created the User Registration Form (lien caché), where the role assigned to users after the registration is a custom role called "Stato Base". After the user registration form submission the new user is redirect to the login page (lien caché). After the user login the users are redirected to a specific page to create a Profile CPT Post with a specific Form managed with View where the filter is "Seleziona i post che hanno come autore l' utente attuale registrato." and the View code is
And so, if the user don't have created the Profile CPT post, the user display the Form to create the Profile CPT post (lien caché the new page name will be mio-profilo). After the submission, the Profile CPT posts are not published but setted to "in revision", and the users are redirect to the page to add the photo (incontramici.inonda.tv/edit-user-profile/) but instead to see the form, I see the "Permission danied" message.
In Access all settings are ok...
Else, if the user have created a Profile CPT post before, in the lien caché (the new page name will be mio-profilo) the users should to see their own profiles, instead I have the Content Template with the layout that I have setted but without the custom fields values that the user have setted, and return mi this message "Il contenuto non verrà visualizzato perché produce un ciclo infinito.
Lo shortcode wpv-post-body è stato richiamato più di una volta con l'attributo view_template="modello-di-contenuto-perprofili" attraverso l'articolo "InOnda", attivando un ciclo infinito."
Why I have this issues and what shoul I do to solve them?
Les nouveaux fils créés par Minesh et associés à celui-ci sont repris ci-dessous :