Forums

Newbie: How 2 integrate WP with current website (5 posts)

  1. OperaManiac
    Member
    Posted 8 years ago #

    u need to copy paste code from inside the index.php file to ur file. a lil knowledge of html and php will get you through...
    try it, it's not that hard... :) but the page has to be rendered as a php by the server...
    see this for an integrated blog. not a very neat one, but it works...
    http://blog.sushubh.com

  2. pezastic
    Member
    Posted 8 years ago #

    Your link took me to a page where the center column, the blog, overlays the rightside column. Obviously, that isn't how it looks on your browser, but that's how I see it. I'm using IE 6.0 at 800x600 resolution.

  3. Iamthecosmos
    Member
    Posted 6 years ago #

    Which index.php file do you use? The one from the template currently in use or the main index.php?

  4. James
    Happiness Engineer
    Posted 6 years ago #

    All you have to do is add the Loop to your pre-existing webpage.

    http://codex.wordpress.org/The_Loop
    http://codex.wordpress.org/The_Loop_in_Action

    For more info, please do a search here for "integrate" or "the loop".

    Here are a few more resources:

    http://www.transycan.net/blogtest/2005/07/05/integrate/

    http://www.jonathanwold.com/tutorials/wordpress_integration/

    http://mattread.com/archives/2005/04/wordpress-is-not-php/

  5. Iamthecosmos
    Member
    Posted 6 years ago #

    This just isn't working for me. Either the loop code on those pages is faulty, or I dunno what.

    This: <?php get_header(); ?>
    causes: Fatal error: Call to undefined function: get_header() in /home/bang/public_html/blog/index2.php on line 19

    I don't want a header or to use a "theme" really, but do I have to use a modified theme in order to specify style? Are themes the only way it knows to read and apply css? And if that's so, is there a guide to editing a theme's style sheet, because just poking around on it doesn't really get me anywhere.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.