• Hello!
    Ideally we would like to install / utilize WP blogging features by adding them to our existing web site.
    All tutorials, articles refer to integrating the code into PHP pages on one’s existing web site.
    Our existing site is not built in PHP.
    Does this mean we cannot integrate WP blogging features?

    Many thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Yes, WordPress runs on PHP so that’s required. Assuming that the server where your site is hosted meets the requirements, you could install WP in a sub-directory and link to it from your site.

    https://codex.www.ads-software.com/Installing_WordPress

    https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory

    Thread Starter ALWMC

    (@alwmc)

    Excellent – many thanks!
    Just to idiot-proof my understanding: does the code required in the header still need to be inserted in each page, or does the link send it to WP running (in a way) stand alone?

    Again – many thanks!

    The code needs to be inserted into each page that you intend to use to display WordPress content.

    Hi! I am having a challenge with this as well. I am new to WP, and found this documentation which is exactly what I need:
    https://codex.www.ads-software.com/Integrating_WordPress_with_Your_Website

    at least I think it is…

    I’m fairly proficient at html and css, not so much with php. I have WP installed in a subdirectory entitled /blog just as indicated in the documentation. It works fine to log into WP and use it that way.

    I then created a blank page on my site titled blog.php and popped the code given in this article into it, uploaded it and… it came up as a blank page with the following error messages:

    Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in D:\Hosting\2832415\html\reiki\blog.php on line 6

    Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.;C:\php5\pear’) in D:\Hosting\2832415\html\reiki\blog.php on line 6

    I’m not sure what I’m doing wrong, though it’s probably something simple. None of my design or css comes through at all, only the errors. I have the DW template html in the page, and the two pieces of php code referenced in the article. The first piece it said to insert at the start of the page, which I did. The second piece it did not indicate where in the page to add it, so I put it in the content area. I used the piece of code given for “last 3 posts” for that portion.

    Can anyone help, please? Thank you!

    The other part of this is that I would like to have a list of the blog archives appear in the left column in my site. I *think* that part of the code in the section about “The Loop” will do this, but not sure I’m understanding it correctly. I wish that it went into a bit more detailed explanation.

    My site address, in case that helps, is https://www.charlestonreikihealing.com

    Thanks!

    Jenni

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Only? Integrate WP Blog into existing website’ is closed to new replies.