How to embed the full sourcecode in wordpress without using iframes

  • Profile Image
    Asked on August 10, 2014 at 12:33 PM


    what I like to try is to embed the a) sourcecode b) js c) css on my server. I am using wordpress.

    In the forum one solution suggests that one should put all the files on the server and link to the html via iframe. Personally I want to try to dont use any iframes on my wordpress site. What would be the workaround for that?

    I guess I would have to change the links in the sourcecode from e.g.:

    <link type="text/css" rel="stylesheet" target="_blank" href="css/styles/form.css?v3.2.3131"/>

    to the more specific path (wherever I have put the files to) e.g.:

    <link type="text/css" rel="stylesheet" target="_blank" href="" rel="nofollow noopener"/>

    After that I could put the sourcecode in a normal wordpress html field. What do you think, would that work?


    Thank you!

  • Profile Image
    Answered on August 10, 2014 at 04:15 PM


    Yes, your overall steps are correct.

    After downloading the form source codes including the CSS and JS files, you have to open the HTML file in the source codes (usually, the HTML file is named after the form) using your text editor, i.e notepad. Find all the links there and replace it with the correct path of the files:


    Please get back to us if you need further assistance.

    Thank you!