Hello,
I hope that you okay. My issue :
The article template was working well because until the last update.
To explain, in my template I place a tab or I insert a shortcode (this shortcode allows the appointment booking you can see in this page hidden link). However, since the last update the code does not work well and when I place it in a test page (here, hidden link) or in any page (without toolset) the shortcode works. Could you please fix this urgently?
Please note that all shortcodes also do not work in other articles.
Link to a page where the issue can be seen: the shortcode is here hidden link hidden link + hidden link
I expected to see: But this shortcode should to be hidden link.
Could you please fix this urgently?
Regards,
Hi,
Thank you for contacting us and I'd be happy to assist.
I tried to view the test page but it was showing the page not found message.
To troubleshoot this, I'll suggest the following steps:
1. Please make sure that WordPress, active theme, and plugins are all updated to the latest versions.
2. It would be interesting to test this with all non-Toolset plugins disabled and a default theme like Twenty Twenty-One.
If it's fixed, you can start adding the disabled items, one by one, to narrow down to a possible conflicting one.
3. In case the issue still persists, I'll need to see how this page and the shortcode are set up in the admin area and you're welcome to share temporary admin login details in reply to this message.
Note: Your next reply will be private and it is recommended to make a complete backup copy, before sharing the access details.
regards,
Waqar
Thank you for sharing the admin access.
During troubleshooting, I noticed that there are several script errors showing in the browser's console.
Since there are many plugins active on the website, narrowing down to the conflicting ones can be a bit challenging.
Do I have your permission to download a clone/snapshot of your website? This will allow us to investigate this on a different server, without affecting the actual website.
Hello,
Before clone my website I would like to inform that I change the name of my website (allodocteur-gabon.com --> wedjingo.ga). Plus, when you clone my website, please could you estimate time to resolve my problem?
I need your plugin for my project urgently for my project.
Please, can you consider my message?
Kind regards,
Thank you for the permission and I've downloaded a clone of your website.
Investigating a compatibility issue like this can be complicated and time-consuming, but, I'll do my best to get back to you with an update, as soon as I can.
Thank you for your patience.
Thank you for waiting.
During troubleshooting on your website's clone, I was able to fix this, by following these steps:
1. In your content template named "Modèle pour Types de médecins", a "Single Field" block is being used to output the shortcode for the appointment/booking, through the custom field "Shortcode appointment".
Instead of this single field block, you can register a custom shortcode, to output this field's processed shortcode content:
add_shortcode('show-shortcode-appointment-output', 'show_shortcode_appointment_output_fn');
function show_shortcode_appointment_output_fn() {
ob_start();
$content = do_shortcode("[types field='shortcode-appointment' output='raw'][/types]");
echo apply_filters( 'the_content', $content );
return ob_get_clean();
}
The above code snippet can be included through either Toolset's custom code feature ( ref: https://toolset.com/documentation/adding-custom-code/using-toolset-to-add-custom-code/ ) or through the active theme's "functions.php" file.
2. Next, you can remove that single field block in the template and instead add a "Fields and Text" block, and inside it add this newly registered shortcode like this:
[show-shortcode-appointment-output]
I hope this helps and please let me know how it goes.