Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #564933

    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:

    #564948

    Hey aph80!

    Can you please post the code you would like to use here using – http://pastebin.com?

    Best regards,
    Yigit

    #564958

    Hi Yigit!

    #566055

    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

    • This reply was modified 8 years, 11 months ago by Yigit.
    #566166

    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!

    #566177

    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

    #566539

    Thanky you Yigit!

    #566591

    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Problem with embed code’ is closed to new replies.