I have a cron job running a php script that drops some files. I want to manually include the text files in my post without using a php plugin. I will be using the standard WP text editor. The text files simply contain html (like an image, link or just text). Is there any way to do this without resorting to php? Thanks!
for this you need to use the widgets option in your wordpress blog. Drag and drop the "Text' widget in the list and then click edit and paste the html code. give it a go and see the result.
Yes it's actually a shtml include but you can modify the htaccess to change it to a html extension. But it slows down the server and a php include would probably be better. I used to use both types years ago and don't recall the modifications that needs to be done to the htaccess file but just Google shtml includes and you should find the info.
I have it running with php and I think I'm going to leave it alone. It works fine. I'm thinking now I would have to create 5 other htm files to replace the php code I have...