[toolset-edit-post-link content_template_slug="consultant-edit-content-template"]EDIT YOUR DETAILS[/toolset-edit-post-link]
should create a dynamic link to the logged in users post but its not. Thats my issue. I dont know why the CRED system is so hard to use whilst the rest of your plugins are easy to use.
Okay so I figured out I needed to put the first shortcode into a view and add the view to my page.
However I have put the second shortcode into the consultant template but the consultant details also display beneath. I only want the edit form to appear.
I understand what you are trying to do, its some kind of profile page correct? Are the logged in users the authors of their own profiles? meaning were they the ones that created it ?
What I need is a page on which a user can edit their custom post (called consultant) The logged in users have previously created this post.
I have a link to the custom post content template which has the edit link on it but it also has the custom post display that other users can view. When being edited I dont want this to appear. Surely that must be the behaviour that everyone using CRED in this way would require.
So that means when a user visits this page they should only see the edit think for the profile they created.
This means that you will need to add a query filter to the view for the Post Author so that it only displays the link for the currently logged in user.
Please let me know if this help as I could be still misinterpreting the issue.
No thats not my issue. Nothing to do with links. When the user clicks through to their profile page to edit it (The link works fine) they are seeing both the content template display for that post as well as the edit link. How do I show only the edit section and not the post itself when they are on their post but in editing mode (ie the URL is different because they have come through to edit)