Home › Forums › WoodMart support forum › Video Problem
Video Problem
- This topic has 14 replies, 2 voices, and was last updated 3 years, 6 months ago by Artem Temos.
-
AuthorPosts
-
May 7, 2021 at 5:53 am #290335
ucarwebnetParticipantHello, these fields are not working. I request your help.
buddha alternative study
1. http://prntscr.com/12m052r
2. http://prntscr.com/12m01ow
3. http://prntscr.com/12m0h26Attachments:
You must be logged in to view attached files.May 7, 2021 at 6:37 am #290365
Artem TemosKeymasterHello,
Could you please try to add your video code to the description field and test how it works with a default WordPress theme to see if it is something related to WoodMart or not?
Kind Regards
May 7, 2021 at 7:20 am #290391
ucarwebnetParticipantHello, thank you for your valuable answer. There does not seem to be a problem in this area. We need other fields 🙂
May 7, 2021 at 7:20 am #290392
Artem TemosKeymasterIn this case, please, send us your admin access so we can check what is wrong there.
May 7, 2021 at 8:12 am #290413
ucarwebnetParticipantok 🙂
May 7, 2021 at 8:38 am #290419
Artem TemosKeymasterWe don’t see the video code there at the moment. Could you please insert it somewhere so we can see it and test it in different places?
May 7, 2021 at 8:51 am #290422
ucarwebnetParticipantWhen I say update the page, the code in the tab area disappears.
Attachments:
You must be logged in to view attached files.May 7, 2021 at 9:00 am #290424
Artem TemosKeymasterTry to do the following
1. Edit the file
woodmart/inc/options/class-sanitize.php
and replace the following line$val = wp_kses_post( $val );
with this one
$val = wp_kses( $val, woodmart_get_allowed_html() );
2. And put this code snippet to the functions.php file in your child theme
function woodmart_get_allowed_html() { return apply_filters( 'woodmart_allowed_html', array( 'br' => array(), 'i' => array(), 'b' => array(), 'u' => array(), 'em' => array(), 'del' => array(), 'iframe' => array( 'width' => true, 'height' => true, 'src' => true, 'title' => true, 'frameborder' => true, 'allow' => true, 'allowfullscreen' => true, ), 'a' => array( 'href' => true, 'class' => true, 'target' => true, 'title' => true, 'rel' => true, ), 'strong' => array(), 'span' => array( 'style' => true, 'class' => true, ), ) ); }
May 7, 2021 at 9:33 am #290435
ucarwebnetParticipantI added the codes you gave to the aforementioned fields, but I guess I didn’t get a result. Can you check it?
May 7, 2021 at 9:49 am #290451
Artem TemosKeymasterWe don’t see the child theme even activated. Please, add the code to the child theme as we instructed.
May 7, 2021 at 9:57 am #290458
ucarwebnetParticipantI uploaded the theme
May 7, 2021 at 10:20 am #290470
ucarwebnetParticipantI uploaded the theme – I could not overcome this problem
are you interested, thank you
May 7, 2021 at 12:07 pm #290503
Artem TemosKeymasterYou don’t need to replace all code in the child theme. You need to restore the original
functions.php
file and put that snippet right after the existing PHP code there.May 7, 2021 at 3:15 pm #290589
ucarwebnetParticipantvideo link operation successful thank you …
but the embed code field does not work any more?
May 8, 2021 at 5:12 pm #290880
Artem TemosKeymasterSorry, but we don’t understand the problem. Could you please clarify what is wrong there?
-
AuthorPosts
Tagged: video
- You must be logged in to create new topics. Login / Register