Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm a designer and front-end web designer and I have a client that wants me to put her wordpress into a static site. Is there a way that I can embed the blog into a new site? Or is there a way that I can create a back door so that even though she cannot read html she can add new updates to the site?

I've been looking for the answer, but can't seem to figure it out. Please let me know what my options are.

share|improve this question

migrated from stackoverflow.com May 31 '11 at 18:57

This question came from our site for professional and enthusiast programmers.

What does "put her wordpress into a static site" mean exactly? Do you want the static pages to become editable in Wordpress? – Pekka 웃 May 31 '11 at 18:36
Hmm, I voted to close on the basis of the (original) title and a skim of the question. Now, I'm feeling that there is the basis of a valid question here, and I hope @lauren follows up with soem more info so we can deliver a helpful answer. – APC May 31 '11 at 18:39
This should go to wordpress.stackexchange.com – markratledge May 31 '11 at 19:00

I think what you are looking for is a method of displaying blog content on a static site. You could do this several ways. One way would be to use an Iframe, another would be to use a module that allows you to display contents of an RSS feed.

Here is info about the iframe tag if you are unfamiliar with it. http://www.w3schools.com/tags/tag_iframe.asp

For displaying an RSS feed try looking for an open source module like: http://www.zazar.net/developers/zrssfeed/


share|improve this answer

There's two ways you can do it. "Reverse engineer" the database and use MySQL in PHP code to get the news articles, though it's pretty trivial, and use a few filter functions defined in the WP headers to transform the post content.

Or use the functions entirely from the WP headers, described in http://codex.wordpress.org/Integrating_WordPress_with_Your_Website.

I did this with my band's website and use Disqus comments to add comments to my static site, but didn't think of using the functions method and went for... manual approach. Either way, it's basically just getting the post data yourself and spewing it out using PHP.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.