Hi @piotroxy,
Sorry for the inconvenience. Hope you are doing great today!
If possible please share the page link and share a screenshot of the place where you inserted the shortcode. So that we can check by inspecting the page link.
We will appreciate your cooperation.
Have a great day!
Hi, thanks for your reply.
Link: http://ekoherba.oxy.pl/kategoria-produktu/mieszanki-ziolowe-i-ekstrakty/
Or any other page you visit for the first time.
Screen
Regards
-
This reply was modified 2 years, 11 months ago by
piotroxy.
This error always appears on the shop’s subpage: http://ekoherba.oxy.pl/sklep/
Hi @piotroxy,
Sorry for the inconvenience.
We have reviewed the issue and figured out it. To fix the issue, please add the following code using a code snippet. You can also insert the code at the bottom of the functions.php file of your current theme.
function sp_kses_allowed_html_modified( $allowed_tags, $context ) {
if ( 'post' == $context ) {
$allowed_tags['style'] = array(
'type' => array(),
);
}
return $allowed_tags;
}
add_filter( 'wp_kses_allowed_html', 'sp_kses_allowed_html_modified', 10, 2 );
Please keep a backup of the website before applying the code. Hopefully, the issue will be fixed.
Have a great day!
Thank for the answer!
I see this code fix it, thanks.
Regards
Hi @piotroxy,
Great to know that it worked. If you are satisfied with the support we will appreciate it if you share your experience here.
Your review will motivate us and inspire us in every aspects.
Have a great day!