Widgets area got error after adding Woodmart theme
-
Good day Team!
I’ve some issues:
1) Widgets area got error after adding Woodmart theme. Please check the attached file
2) Child theme not working when I updated for testimonial page. But 404 page is working in child theme. Please check the attached file
Thanks with Regards,
Theigi.
Attachments:
You must be
logged in to view attached files.
Hello,
Thank you for reaching out to us!
1. This is a WordPress bug, so we would recommend installing the free Classic widgets plugin to solve it. We hope they would fix it soon as possible.
https://wordpress.org/plugins/classic-widgets/
2. Please enter the below code to the functions.php
file in the child theme, the updated file should start to work after it.
if ( ! function_exists( 'woodmart_get_element_template' ) ) {
/**
* Loads a template part into a template.
*
* @since 6.1.0
*
* @param string $element_name Template name.
* @param array $args Arguments.
* @param string $template_name Module name.
*/
function woodmart_get_element_template( $element_name, $args, $template_name ) {
if ( ! empty( $args ) && is_array( $args ) ) {
extract( $args ); // phpcs:ignore
}
include get_theme_file_path( '/inc/template-tags/elements/' . $element_name . '/' . $template_name );
}
}
Please feel welcome to reach out to me with any questions you may have and I would be more than happy to help.
Kind Regards
Good Morning Team!
Thanks for your information.
Both issues are fixed.
Best Regards,
Theigi.
Hello,
We will appreciate it if you can refer your friends or family members to become a part of our Xtemos family.
Wish you all the best.
Kind Regards
The topic ‘Widgets area got error after adding Woodmart theme’ is closed to new replies.