Archived topic
functions.php
3 replies · Started by jose cases on July 9, 2020
I need to add this code tu funtions.php
add_filter('tiny_mce_before_init','tinymce_allow_unsafe_link_target');
function tinymce_allow_unsafe_link_target( $mceInit ) {
$mceInit['allow_unsafe_link_target']=true;
noopener noopenerreturn $mceInit;
}
I realize if i create a hook i cand do the same, but i tried and its not working.
Which are the right way to do it?
Hi there,
that code has to go in your Child Theme functions.php or use the Code Snippets plugin to add it to your site. It will not work in a Hook Element.
I installed an empty chilf theme and now some custon CSS is not aplluyin?
What Can i do?
Can you open a new topic for the separate question?
Thanks :)