Skip Navigation

[Resolved] Unable to create post edit link for logged in users.

This support ticket is created 5 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

Tagged: 

This topic contains 22 replies, has 2 voices.

Last updated by Minesh 5 years, 8 months ago.

Assisted by: Minesh.

Author
Posts
#1235547

Hi, I have now deactivated the Layouts plugin but still get the same result?

#1235560

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - I need to check with my test install by installing elementor and I'll try to reproduce this issue.

But before I go for that, can you please share the link which elementor template you designed to display single member or supplier post? Can you please share link of that Elementor template?

#1235561

Hi Minesh, here is the link to the Elementor single member template.
hidden link

#1235587

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

well - I'm wondering why I do not able to see the template under "Saved Template":
=> hidden link

In addition to that, can you please confirm again that to design your Elementor template you followed the steps given with the following link:
=> https://toolset.com/documentation/user-guides/using-toolset-with-elementor-page-builder/create-templates-for-custom-post-types-with-elementor-and-toolset/

#1235591

Hi Minesh, you will see the template under all, yes I created it as per the guide.

#1236174

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - the thing is that:
The edit form will only replace the post_body (content) part of the post. Anything else in the Elementor template for single posts will still be shown, and the Toolset edit form only replaces the post content part.

So, I've a better workaround for you. I've created a page where I've added the post edit form:
=> hidden link

[cred_form form='member-directory-edit' post='[wpv-search-term param="edit_post_id"]']

Where:
- we will catch URL param edit_post_id using the view's shortcode [wpv-search-term param="edit_post_id"]

I've adusted the edit link within your view as given under:

<a href="/display-edit-post-form/?edit_post_id=[wpv-post-id]"> Edit </a> 

Now, if you try to click on Edit link, you will see only edit form without any additional fields:
=> hidden link

Can you please confirm the workaround I shared works as per your expectations and glad to help 🙂

#1236912

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please confirm solution I shared help you to resolve your issue.

#1238694

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Have you check the solution I shared 🙂 please feel free to resolve the ticket.