[Support request] Adding HTML to static page

Home Forums Support [Support request] Adding HTML to static page

Home Forums Support Adding HTML to static page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #252855
    John

    Looking for some advice on how best to accomplish this task. I have an HTML file that is generated by an external process and placed onto my server. The file is HTML which utilizes styled formatting and is updated on an daily basis (through an automated process).

    Previous to using WordPress, I had a raw HTML (actually PHP) file that executed a:

    <?php include("listing.html"); ?>

    Which displayed the HTML inline with the page.

    So. Looking for some advice on the best way to do this in a WP environment. Should I use iframe (I have looked at this in the past, but I did not like the frame created with the scrolling feature) or is there maybe a plugin that can be recommended to accomplish this when used in conjunction with GP?

    Thoughts or ideas?
    John

    #252876
    Tom
    Lead Developer
    Lead Developer

    Hi John,

    I think an iframe is probably you’re best bet for something like this.

    You can tell the iframe not to include any scrollbars:

    <iframe src="yourfile.html" style="overflow:hidden;" scrolling="no" />

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.