Title: Embed WordPress into another page
Last modified: August 19, 2016

---

# Embed WordPress into another page

 *  [javawizkid](https://wordpress.org/support/users/javawizkid/)
 * (@javawizkid)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/embed-wordpress-into-another-page/)
 * How can I display my WordPress posts on my homepage rather than using the WordPress
   themes? I’ve found this [page](http://www.shooflydesign.org/buzz/past/embedding_wordpress.html)
   and I have tried it but comes up with this error: Fatal error: Call to undefined
   function get_posts() in /home/javawizkid/http/www.betatestingzone.com/index1.
   php on line 5
 * How can I get this to work? Thanks.

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

 *  [Jupitercow](https://wordpress.org/support/users/jcow/)
 * (@jcow)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/embed-wordpress-into-another-page/#post-988626)
 * Not to derail this, but why not set your pages up in WP? It has everything you
   need to dynamically create and control content in pages, blogs, and pretty much
   anything else with a little tweaking.
 * Either way… You aren’t getting this file included: “/wp-blog-header.php”
 * Your path to it may be incorrect. In the post tha tyou linked to, it says “/wordpress/
   wp-blog-header.php”, that is assuming that you installed wordpress into a folder
   called wordpress in the root of the directory that is trying to include it.
 * If anything about that is off, it won’t work.
 *  Thread Starter [javawizkid](https://wordpress.org/support/users/javawizkid/)
 * (@javawizkid)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/embed-wordpress-into-another-page/#post-988629)
 * It’s in the correct directory. That is why I don’t understand why it wont work.

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

The topic ‘Embed WordPress into another page’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [embed](https://wordpress.org/support/topic-tag/embed/)
 * [homepage](https://wordpress.org/support/topic-tag/homepage/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [website](https://wordpress.org/support/topic-tag/website/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [javawizkid](https://wordpress.org/support/users/javawizkid/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/embed-wordpress-into-another-page/#post-988629)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
