I´ve tried to embed a code in one of my articles which doesnt´t seem to be compatible with the theme. I´ve tried the code element and the text block. After saving the article the code changes, goes out of the box and other strange things happen. I´ll post it private:
Hey aph80!
Can you please post the code you would like to use here using – http://pastebin.com?
Best regards,
Yigit
Hi Yigit!
Hi!
This is what i see when i paste the code in text box (try this in text mode not visual )
is this what the code suppose to do?
Cheers!
Vinay
Sure I did it in text mode. I also tried the “code” element. Check the editor after saving. In my case things get really messed up. Maybe it doesn´t if thats the only element you use on the page. But I need to integrate it in an article. And it would be cool if you kept privately posted information private. Cheers!
Hi!
Please add following code to Functions.php file in Appearance > Editor and then change your embed code to the one in private content field.
function add_custom_link_target(){
?>
<script>
jQuery(window).ready(function(){
jQuery('.my-custom-textarea').attr('onclick','this.focus();this.select()');
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_link_target');
Regards,
Yigit
Thanky you Yigit!
Hey!
We are glad you got that short out!
Btw, If you have a moment, I would very much appreciate if you could quickly rate the Enfold to themeforest, which wiII heIp us keep the deveIopment up!
Please do not hesitate to contact us, if you do need anything else.
Cheers!
Basilis