• Is it possible to include (link) content of html file located on the same server in to post?

    For example I have simple pricing tables in hundreds of these html files, each WP post is a product, I would like to link content of those html files in to posts. One per post. Is it possible?
    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • You could upload the html file as you would an image as part of the post and use the Insert into Post button to include a link to the file -or- if the html files have already been uploaded you could insert a link to the html file from its current location in the post.

    If you are unsure how to this I can add step by step instructions.

    Thread Starter rulez22

    (@rulez22)

    yes please, kayjayone, for example we’ve got
    website.com/rates/item1.htm
    website.com/rates/item2.htm
    website.com/rates/item3.htm…

    and these files’ content should be inserted accordingly in to
    website.com/post1
    website.com/post2
    website.com/post3…

    For example while in post1…

    1. Type in the text you’d like displayed for the link and select or highlight it

    2. Click the chain looking – Insert/edit link button

    3. In the URL field enter website.com/rates/item1.htm

    4. If you want to open the page in a new window so the user does not leave your site, select open in a new window/tab

    5. Click the Add Link button

    Instructions specific to WordPress 3.1.2

    Thread Starter rulez22

    (@rulez22)

    Oh no no no, this will be a link, I want to display ENTIRE CONTENT of that html file INSIDE of a post
    html include basically

    Then use an iframe.

    Thread Starter rulez22

    (@rulez22)

    anyway, i’ve found a solution
    module “Include me in that HTML”
    https://www.ads-software.com/extend/plugins/include-me-in-that-html/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Include static HTML file in posts?’ is closed to new replies.