Support » Fixing WordPress » incorporating posts/pages into an html website

Viewing 7 replies - 1 through 7 (of 7 total)
  • No-one? I thought I had read somewhere that it’s possible?

    You cant include stuff into .html pages, it have to be .php

    You can can make a static wordpress page and show them and/or make your own function to pull the data from the database into your page.php

    Even if you give your files the .php extension, the wordpress tags wont works on your if wordpress is installed in

    Because the wordpress functions will be stored in /blog/wp-include… So there is no way to use these functions on a section of your site where wordpress is not installed.

    I’m far from being a php/mySQL guru, but I fear there is no easy way to call these function anywhere else than /blog…


    you can really easy show wordpress stuff on any other php page!

    Actually… if your blog is at folder
    and you want to use any of the WP functions in a file at the root folder – all you have to do is this:
    add to the top of the file from the root (e.g. this:


    You can use any WP functions, template tags etc.

    kewl kewl! 🙂

    So I take that back… 🙂 There is a really easy way to do so!


    Thanks moshu, and thanks gents (and gals if any). Much appreciated 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘incorporating posts/pages into an html website’ is closed to new replies.