[wp-hackers] File inclusion in WP theme

Alexander Beutl xel at netgra.de
Thu May 8 10:12:24 GMT 2008

Hi Jim,
could you specify where and for what purpose you want to include them?
There are several ways one could want to do this and therefor there is not
the one and right way to do it.

Just a few examples (there will be many more things one might want to do
with textfiles):
This textfiles could hold something like a configuration
they could hold something like posts or pages
they could be display eighter like the_loop or as seperate pages
they could just be textsnipplets you want to include into your theme at
specific placed in your theme.
They could also be something like code which you will want to display inside

2008/5/8 dtc4ever <dtc4ever at gmail.com>:

> Hello,
> What would be the most secure way to include text files within
> WordPress ? I have about a hundreds txt files that I would like to
> display within WP.
> The files reside in my wp-content directory.
> Thanks for any pointers,
> Jim
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list