Skip Navigation

[Resolved] Edit post link does not edit

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)

This topic contains 3 replies, has 1 voice.

Last updated by georgiI 1 month, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#2822181

I am having an issue - i have a custom post type,form to make content,edit form and ingle post/edit template.
But then putting edit link in the single post template, the page reloads, but does not open the edit form, only the url changes to the actual edit form.

When user role registers - they are automatically redirected to their profile. There if user has a post, the post is shown, if not - the form to make a post.

The template of the single post is not in a view. The php code to automatically log in and redirect makes a condition to show the template in the profile as user is author, so the post is the correct by the user. In the single post template(accessible to everyone), that condition does not stand and the post is simply current post.
Both profile and standalone single post template cannot be edited.

#2822184

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Can you please share workflow and admin access details as well as frontend user access details and tell me what exactly not working and share the problem URL.

*** 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 have set the next reply to private which means only you and I have access to it.

#2822219

Minesh
Supporter

Languages: English (English )

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

Can you please confirm - do I need to login as frontend user? if yes:
- Can you please share frontend user access details.

Also, I see on content template listing screen for single post, you created the content template using Toolset that displays single organization profiles and you also created single post template using Elementor.
- hidden link

And within Elementor single template you display the content template created using Toolset. This is not right approach.

if you want to use Elementor single post template then you should unassign the content template you created to display single organization profile post.

Also, when you click on Edit post link, do you want to open it in new page or you want to replace the edit form with the existing single post template?

#2822836

Minesh
Supporter

Languages: English (English )

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

Can you please check now: hidden link

I've created the followign content template where I've added the content template that holds the single post content and content template that holds the form and I display it conditionally.
=> hidden link

[wpv-conditional if="( '[wpv-search-term param='post_id']' eq '' )"]
[wpv-post-body view_template="template-for-organization-profiles"]
[/wpv-conditional]


[wpv-conditional if="( '[wpv-search-term param='post_id']' ne '' )"]
[wpv-post-body view_template="edit-organization-template"]
[/wpv-conditional]

And to your Elementor template, I've added the above content template as given under:
=> hidden link

[wpv-post-body view_template="container-content-template-to-display-conditionals"]

Can you please confirm now, you able to use the edit post link.

#2822986

Hi, the post can be edited now in the post template, however it could still not be edited trough the profile. I replaced the conditional there as well and it works.
Thanks