Custom template broken in version 1.5
-
Custom templates aren’t applied in the latest version. They don’t show as an option in the selectbox, even though it’s registered via the PHP hook.
Rolling back to version 1.4.4 resolves the issue.
-
Hi @ianatkins,
Thank you for reaching out to us. We hope you are doing well.
The received your Error request. Kindly accept our apologies for the issue.
We have escalated this matter to our technical team. They are actively investigating the issue, and once they provide an update, we will update you accordingly.
But We are trying that you case can be resolved on top priority.
If you have to face any other issues or have any other queries. Feel free to reach out to us again.
Thanks & Regards,
WP Experts Support TeamHello @ianatkins,
Thank you for reaching out to us. We hope you are doing well.
We have investigated the issue on our end but, unfortunately, have not encountered any problems. To assist us in diagnosing and resolving your specific issue more effectively, could you please provide a screencast video demonstrating the exact problem you’re experiencing on your site? This will enable us to understand and address the matter more thoroughly.
Your assistance in providing this screencast will greatly help us in understanding and investigating the issue more deeply.
If you have any other questions or concerns, please feel free to reach out to us again.
Thanks & Regards,
WP Experts Support TeamHello.
I can replicate this on a fresh install with no other plugins installed. Steps to replicate.
- Install WordPress ( latest version ).
- Install a classic theme. Add your custom template in the theme ( I can send you this, but is the default.php and partials folder ).
- Add the snippet in functions.php to load the template.
- Install version 1.4.4 of the plugin, you can see the template.
- Install version 1.5, the template reverts to default.
Video as requested.
-
This reply was modified 7 months, 1 week ago by
ianatkins.
I can confirm this behaviour. I lost all of my translations since updating.
Hi @ianatkins,
Thank you for your support and for providing the necessary details, this has been very helpful for us.
We have checked the issue, and the error originated because the WooCommerce plugin was not installed. As a result, you were unable to see the other options in your select box field.
To assist you further, we have also prepared a reference screencast video to help demonstrate the correct setup.
If you have any further questions or need additional assistance, please feel free to reach out.
Thanks & Regards,
WP Experts Support TeamThe site isn’t ecommerce and yes doesn’t have WooCommerce installed.
The plugin used to not require WooCommerce to be installed?
Even when I installed WooCommerce on the test site, my custom template is still not loaded.
*Reads.*
To investigate your issue more deeply, we need some information, but due to privacy reasons, we can ask you on this platform.
@muddasirhayat This is not a question you should ignore: what details exactly are needed that you cannot help the user here?
Please be very specific.
Hi @jdembowski,
We hope you are doing well, The issue was that we had checked it on our own staging environment, and the expected problem did not replicate, which is why we were asking this user to contact support via email. We are now trying to reproduce the issue again on a fresh site and will update this user within 2 to 3 days.
Thank you
@muddasirhayat Again:
what details exactly are needed that you cannot help the user here?
@jdembowski We have moved the conversation to the developers support email, so I can supply them private logins to the staging environment I have setup.
This seems to be totally inline your own guidelines?
Posting or accepting offers or requests for login information to a site. While plugin and theme authors may ask for this on their own support systems, they may not do so on WordPress.org for liability reasons.
https://wordpress.org/support/guidelines/Please leave this topic open, as I will update it with the resolution as an when one is found.
Hi @ianatkins,
We would like to inform you that we have fixed this issue and also we have replied to your email as well.
Thank you
For other readers; the developers have, for some reason, changed the filter name for loading custom templates.
The filter is now mailtpl_customizer_template as below, and not mailtpl/customizer_template as per the documented FAQ or prior versions.
add_filter('mailtpl_customizer_template', function($default_template_path) {
return get_stylesheet_directory() . '/email/templates/default.php';
});-
This reply was modified 7 months ago by
ianatkins.
The topic ‘Custom template broken in version 1.5’ is closed to new replies.