Hello @adio93,
According to our support policy, we are unable to provide custom solutions to our users. Fortunately, a code snippet to achieve your goal is already available to us as a result, we can provide it to you for your assistance. Please use the below-mentioned code on your child theme’s functions.php file. If you don’t have a child theme on your site, consider using a code snippet plugin like https://wordpress.org/plugins/code-snippets/.
add_action('admin_head', 'my_custom_style_backend');
function my_custom_style_backend(){
echo '<style>
#mceu_28,
#wp-content-editor-tools,
#wp-content-media-buttons,
#wp-excerpt-editor-tools,
#mceu_89{
display: none !important;
}
</style>';
}
Special Note: Please use this code on your staging site to prevent any potentially fatal errors.
Thanks!
Thread Starter
adio93
(@adio93)
Hi, I added the code in the child theme but it didn’t work, the HTML editor is still displayed on the add product page.
https://drive.google.com/drive/folders/1gsEdaPfjelN4YHifo43RVUOBAXIsj96q?usp=sharing
Thread Starter
adio93
(@adio93)
I still need help<font _mstmutation=”1″></font>
Hello @adio93,
Thanks for letting us know!
Surprisingly, the HTML editor is still showing up for you, as the code snippet worked on my end when I tested it locally.
Would you mind checking to see if it works by utilizing a code snippet plugin? This can sometimes resolve unexpected issues when adding code to child themes directly.
Let me know how that goes!
Thanks!
Hello @adio93
As we haven’t heard back from you for a while, we’ll consider this topic resolved. If you encounter any further issues, please don’t hesitate to open a new topic.
Thanks!