Forums

WP includes in current static HTML pages - possible? (5 posts)

  1. Radiant_goat
    Member
    Posted 3 years ago #

    Hi, I have tried really hard to try and find the answer to the following.... maybe a kind soul could put me out of my searching misery with an answer :-)
    I have a static HTML website made up of 7 pages. Is it possible to use place a WP 'include' bang smack in the middle of each page, hence allowing that section of just text to be updated using WP?

    http://www.townshendbrewery.co.nz/

    Thank you thank you

  2. stvwlf
    Member
    Posted 3 years ago #

  3. lhoylhoy
    Member
    Posted 3 years ago #

    yes it is possible! just copy your wordpress folder to your web folder but you have to properly install wp first.then just link it to your static page. for example, if you want to name your page as blog, then you have to code it as

    <a href="/wordpress">blog</a>

    then it will point you to wp's index.php automatically.

  4. lhoylhoy
    Member
    Posted 3 years ago #

    just to make it clearer,

    after extracting your wp zip file, you need to upload your wordpress folder (or whatever you want to name the folder as long as it is the root folder of wordpress' bunch of files) to your htdocs folder, for example htdocs/wordpress. follow the wp's 5-minute install then just anchor link it!

  5. Radiant_goat
    Member
    Posted 3 years ago #

    Woa, 'stvwlf' thats amazing. Read the link, worked first attempt! Thank y'all.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.