Find the plug-in include_page or something similar:
http://beetle.cbtlsl.com/wp-plugins/include_page.phps
It includes a page content in a page (useful in “home.php”. if you use this file as the home page). For more info about that, check the “documentation-codex”.
If you want to include the content of a page in a post, you need the plug-in include_page and execPHP (or something similar) to execute php commands in posts. Beware, using the latter script “may” open security holes for hackers.
I do not see simpler way.
Is there no way I can include the content of a page in an external site (html) the same way I can get posts using the loop?
Thanks again
How about the documentation? http://codex.wordpress.org/Creating_a_Static_Front_Page has some good examples.
Or, there are tons of little php utils that will pull RSS feeds and format them for a web page (where’s David?). Grab one and have it pull your own site’s feed.
I made a template I called Zen that only output the basic content, no sidebar, no headers etc. I basically started with the default theme, and removed everything unneeded. Then, from real pages, I used a php function (file_get_contents) to fetch the data I want. It could be just one category, or whatever. As long as I built the url right for the get contents function, I got the data I wanted.
So, you need a template, but the template is really barebones. Did that make sense to you?
Oh, I can let you see a sample.
My real front page: http://mybeausejour.com
The wordpress install it fetches the data from http://mybeausejour.com/wordpress
If you look at the html for the wordpress page, you’ll see it’s just the posts with a headline.