Good tutorial on how to use a static html page with wordpress?

9 replies
  • WEB DESIGN
  • |
Is it possible to use a static html and insert that into a wordpress site?
And by static I dont mean a wordpress static files but an actual html file.

My idea is to use the seo power of wordpress and use the squeeze page as the main page.
When I publish new articles I want to easily insert new text by writing new post (wordpress style)

I tried searching around but haven´t found exactly what I´m looking for, can you reccomend a good video tutorial?

Sincerely
Karl
#good #html #page #static #tutorial #wordpress
  • Profile picture of the author Mickm
    YES! This is what I do myself with my site.

    Insert a php call to your database at the very start of the html page, then just copy & paste in your loops.

    If that's a bit much to take on board right now, if you can wait a couple of days I'll make a video to show you exactly what you need to do.
    {{ DiscussionBoard.errors[689816].message }}
  • Profile picture of the author Challe77
    ok, please do since I´m not that familiar with php...
    {{ DiscussionBoard.errors[689819].message }}
  • Profile picture of the author Mickm
    Nothing to it mate, believe me if I can do it anyone can. Will make you a video soon.
    {{ DiscussionBoard.errors[689829].message }}
    • Profile picture of the author EnergyRings
      Micken,
      I would like to see that video also. I started the thread on "forging for a living" and I got a bunch in input on how I should start a blog with a static home page. I downlosded and installed wp 2.7.1 and am now looking for a good template to use. The Static Front Page is still a bit of a mystery to me so thanks for the video when you do get it done.
      {{ DiscussionBoard.errors[692378].message }}
  • Profile picture of the author BlaineGlynn
    its really simple:

    Code:
    add this to a blank php page at the top:
    <?php 
    define('WP_USE_THEMES', false);
    require('./wp-blog-header.php');
    get_header();
    get_sidebar();
    ?>
    
    //put your content here
    
    <?PHP
    get_footer();
    ?>
    That should get you started, I have a couple videos on it, but still... I have not posted enough.

    Good luck!
    Signature
    Please stop digging up old threads to spam your links.
    {{ DiscussionBoard.errors[692548].message }}
    • Profile picture of the author EnergyRings
      Thanks for the code. I'll see If I can get it to work for me.
      {{ DiscussionBoard.errors[693632].message }}
  • Profile picture of the author Challe77
    I found a video that explains what I want to do, but a problem remains...

    I can´t get my static page to use the correct style sheet even if I tell it to use a specific one, can anyone help?

    Sincerely
    Karl
    {{ DiscussionBoard.errors[706869].message }}
    • Profile picture of the author meckal
      When I first decided to convert a static HTML design to WordPress I did some searching for a tutorial to help me get started with the basics. Surprisingly, I didn't find anything that was very complete or easy to follow. For that reason I decided to write a very basic tutorial on how to convert a static XHTML/CSS template into a WordPress Theme. If you are an absolute beginner at developing WordPress themes then this should help you get started. This tutorial assumes you already have a basic understanding of HTML and CSS. It also assumes you have already built a website in XHTML and CSS and have it ready for conversion.
      {{ DiscussionBoard.errors[721572].message }}
  • Profile picture of the author kckaz
    Just create a static html page, upload it to your host, then install wordpress in a sub-directory:

    www.yourdomain.com is the static html page and www.yourdomain.com/wp is the wordpress blog.

    Or am I not understanding your question
    Signature

    Follow me on Twitter: twitter.com/KennyKurtz and I'll follow you back.

    {{ DiscussionBoard.errors[722113].message }}

Trending Topics