Thank you, MORE wordpress with react videos we want to add custom functionality 😊
@solomsolom8338
3 жыл бұрын
Thanks for this awesome tutorial.
@VicodeMedia
3 жыл бұрын
You're welcome.
@elcondorito8823
Жыл бұрын
Hello again ! I tried to implement this within a custom plugin (rather than in functions.php). I find it neater (and you can swap between themes). But doing so throws an error. "Wordpress WC_Product_Variable not found" Any idea what I could do ? It works in functions.php though.
@VicodeMedia
Жыл бұрын
In your case, the Woocommerce classes are not loaded when your script wants to use WC_Product_Variable. You need to include the file manually before calling the class if(!class_exists('WC_Product_Variable')){ include(plugin_url.'/woocommerce/includes/class-wc-product-variable.php');// adjust the link }
@elcondorito8823
Жыл бұрын
@@VicodeMedia Thank you for you quick response ! I actually tried that before, to no avail. Anyway... PS : I was alluding to the custom product type video, but the YT switch to another video of yours in the meantime.
@VicodeMedia
Жыл бұрын
Okay. Sorry I'd have to see the whole code to know what's going on but I hope that you can find the solution. Thanks again for subscribing.
@CharlesLamar
3 жыл бұрын
Can i implement this through the theme editor on wordpress.com, and if so how do i do it?
@VicodeMedia
3 жыл бұрын
You can't do that on wordpress.com. they don't give you access to the source code
@CharlesLamar
3 жыл бұрын
@@VicodeMedia but cant i just acces my websitet through FTP and then just place your code in the correct folder?
@קאברס-פ2נ
2 жыл бұрын
Hi, How do I contact you if I want to hire your service?
Пікірлер: 12