• How can I display my WordPress posts on my homepage rather than using the WordPress themes? I’ve found this page 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)
  • 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

    (@javawizkid)

    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.