I am trying to: have the toolset editing form appear when I click the "edit CPT link"
Link to a page where the issue can be seen: hidden link
I expected to see: The editing form for the CPT
Instead, I got: the standard CPT content view
NB:
I'm guessing this is a problem linked to the Theme (which is The Ark). I created a layout with The Ark to display the contents of the "Traces" CPT. I've looked through many support topics but haven't been able to find the answer.
Hello, I'm able to replicate this problem with the Ark theme active in my local site. It seems to be a compatibility issue, so I have asked my 2nd tier support team to take a closer look. I will let you know what I find out as soon as I can.
Hello, I have an update from my 2nd tier support team. Our investigation has shown there is no viable way to resolve the issue by making changes to Toolset, and the issue must be addressed by modifying the theme. Here are some debug notes:
The theme gets the post content in \path\to\wp-content\plugins\ark-core\builder\blocks\class.ffBlBlogContent.php line 245:
$contentValue = $post->post_content;
Toolset needs to replace the post content here with the edit form, but getting post_content directly from the post object like this bypasses the necessary actions and filters. Get the post content using the_content() instead to fix the issue:
$contentValue = the_content();
We recommend you provide these notes to the theme authors so they can evaluate the fix and make any necessary adjustments. If you need any additional information to facilitate this discussion, please let me know.
Hello, my compatibility team is interested in opening a discussion with their developers. Do you have direct contact information for the theme authors, like an email address?
Hello Christian,
Sorry for my late reply. It's a busy time as you can imagine. I haven't contacted the devs yet, but I will do so shortly and let them know you'd like to get in touch. I'll also post a reply here to keep you in the loop.
Bertrand
Great, feel free to post a reply here when you have more information.
Hello Christian. I am still waiting for a reply from the devs at The Ark Theme. Haven't heard anything from them yet.
Okay thanks for your update.
Hello Christian. I finally got an answer and a solution from the devs at the ark, which I'll put here in case anybody else finds it useful or relevant:
1 - " You can overcome this by using a PHP element and then the "the_content" tag inside it directly"
I actually solved my problem by using conditions based on the URL to modify what is displayed but that seems to work properly.
Their contact info is freshface.support@gmail.com and they'll be happy to engage with you guys. They told me they would had identified the initial problem and would try to patch it in their next update.
Thanks for your help !
My issue is resolved now. Thank you!