Title: How to implement the HTML code?
Last modified: June 25, 2023

---

# How to implement the HTML code?

 *  Resolved [timokorbee](https://wordpress.org/support/users/timokorbee/)
 * (@timokorbee)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/how-to-implement-the-html-code/)
 * Hi there,
 * I’ve been searching for a plugin which would enable me to upload en overwrite
   html snippets on my page, so I was very glad to find yours. It also seems to 
   work great with uploaden etc., I’ve managed to get this working. I don’t know
   however how to implement it on a page? Previously I would take the custom HTML
   code widget to insert the code, should I link the post in there?
 * If I try to use the default post-widgets from WordPress, it can’t find the posts
   created by the plugin, I guess because it is a different system. I feel like 
   I am so close to my goal now, could you tell me how to get the code in a block
   on my page?
 * Either way, keep up the good work, thanks in advance,
 * Timo Korbee

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Alan Fuller](https://wordpress.org/support/users/alanfuller/)
 * (@alanfuller)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/how-to-implement-the-html-code/#post-16847791)
 * Thank you for looking at this plugin and I hope it is useful to you.
   Apologies
   if the information is not too clear on how to use, however as I wrote the plugin
   for ‘me’ the initial documentation is sparse and makes assumptions.However with
   your feed back we can possibly make this better for you and others.So to explain
   a bit.The plugin generates a CPT – that is a Custom Post Type with the html loaded
   as ‘content’. These are stand alone posts – so the use case isn’t really to create
   a page and then insert a snippet. Is that what you are trying to do – have a 
   hybrid page partially loaded from outside – or is it because your don’t know 
   how to access the CPT and you thinking if you ‘insert’ into a page you can solve
   the access issue?Are you using the standard ( block ) editor? What theme are 
   you using?
 *  Plugin Author [Alan Fuller](https://wordpress.org/support/users/alanfuller/)
 * (@alanfuller)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/how-to-implement-the-html-code/#post-16847798)
 * p.s. I did a quick search and found [https://wordpress.org/plugins/any-cpt-listing-block/](https://wordpress.org/plugins/any-cpt-listing-block/)–
   I haven’t used it but it may solve your issue?
 *  Thread Starter [timokorbee](https://wordpress.org/support/users/timokorbee/)
 * (@timokorbee)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/how-to-implement-the-html-code/#post-16848027)
 * Hi There,
   First of all thank you so much for getting in touch this quick, I did
   not exprect that. Let me expound on the situation a bit: I’ve got an HTML file
   with multiple tables below eachother in it, which if I paste it in a custom HTML
   block, it works. However the data in the tables will be updated daily, and since
   I can’t manually copy paste the code (at midnight as well) in the custom HTML
   block, I’m looking for another option. Right now I’m trying to automate through
   FTP, which your plugin sounded perfect for, and the uploading itself worked greatly,
   so I couldn’t resist asking you for the final step of implementing it after it
   is imported as post.I’m going to look into the plugin you sent right now! Sounds
   like that might work!Greetings,Timo Korbee
 *  Plugin Author [Alan Fuller](https://wordpress.org/support/users/alanfuller/)
 * (@alanfuller)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/how-to-implement-the-html-code/#post-16848052)
 * Please let me know, here on this thread, how you get on.
 * Sounds a useful case.
 *  Thread Starter [timokorbee](https://wordpress.org/support/users/timokorbee/)
 * (@timokorbee)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/how-to-implement-the-html-code/#post-16848075)
 * Unfortunately, The plugin you sent doesn’t seem to be made for this. It shows
   de post as a sort of preview, and eliminates the table elements which makes it
   useless. I’m getting closer though! Just need the right plugin.
 *  Plugin Author [Alan Fuller](https://wordpress.org/support/users/alanfuller/)
 * (@alanfuller)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/how-to-implement-the-html-code/#post-16848133)
 * just so I can understand, you need a block to display one or more than one of
   the loaded files?
 * how would you identify the CPT, e.g by title?
 * it isnt hard to write custom blocks ( for a developer ) and it sounds like it
   would be a nice add-on for this, although as this is free software in my spare
   time not something I can do today or even maybe not this week.
 * However I’m sure with all the blocks out there there must be something.
 * Possibly post a post in the general WordPress ‘everything else’ forum askin for
   blocks to embed specific CPT?
 *  Thread Starter [timokorbee](https://wordpress.org/support/users/timokorbee/)
 * (@timokorbee)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/how-to-implement-the-html-code/#post-16848291)
 * Hi Alan,
 * For now I’ve figured it out, I could simply upload the HTML file to the root,
   and place an iframe in a custom HTML code block to point at it. The only thing
   left to do now is automating the upload of the HTML file!
   If this process was
   made in a plugin, that would definitely be helpful to others in my opinion. Thank
   you for your help in any case, kind regardsTimo Korbee
    -  This reply was modified 2 years, 9 months ago by [timokorbee](https://wordpress.org/support/users/timokorbee/).
 *  Plugin Author [Alan Fuller](https://wordpress.org/support/users/alanfuller/)
 * (@alanfuller)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/how-to-implement-the-html-code/#post-16848514)
 * i would advise not uploading to root but create a directory in wp-content/uploads
   e.g wp-content/uploads/myhtmlfiles
 * as that is where uploaded files are expected to be (in uploads) that way security
   plugins won’t think you have malicious files in root.
 * im glad you found a solution, although I am no fan of iframes they have their
   uses
 *  Thread Starter [timokorbee](https://wordpress.org/support/users/timokorbee/)
 * (@timokorbee)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/how-to-implement-the-html-code/#post-16848547)
 * Thank you for that advise! I will move it to the uploads folder.
   Yes I aggree
   about iFrames, but in this case it seems to work good enough. After searching
   for many days now, I will accept this for now and can move on.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘How to implement the HTML code?’ is closed to new replies.

 * ![](https://ps.w.org/load-html-files/assets/icon-256x256.png?rev=2884411)
 * [Load HTML Files](https://wordpress.org/plugins/load-html-files/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/load-html-files/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/load-html-files/)
 * [Active Topics](https://wordpress.org/support/plugin/load-html-files/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/load-html-files/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/load-html-files/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [timokorbee](https://wordpress.org/support/users/timokorbee/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/how-to-implement-the-html-code/#post-16848547)
 * Status: resolved