WP Index file ?

Discussion in 'Blogging' started by noobie2shoes, Apr 26, 2007.

  1. #1
    Which WP index file do I use.

    "To get started, add the code below to your blog template in between the OPEN body (<body>) tag and the CLOSE body (</body>) tag and republish. The optimal place is just after the OPEN body (<body>) tag. Tracking will begin immediately after the code has been added to your blog"

    Mybloglog asks me to do this.

    I know how to do this but I cant seem to find the index.php file in my worpress to do this.

    In my main index.php file when I open it in an editor all i find is this -

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>

    Can anyone help me ? Can you even understand what I am trying to do ?

    Cheers
     
    noobie2shoes, Apr 26, 2007 IP
  2. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you need to open up your theme index.php

    e.g. root/wp-content/your_theme/index.php
     
    just-4-teens, Apr 26, 2007 IP
  3. noobie2shoes

    noobie2shoes Peon

    Messages:
    704
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I went there but there are not <body> tags...oh dear im lost.
     
    noobie2shoes, Apr 27, 2007 IP
  4. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #4
    try the header.php file within your themes folder :)
     
    just-4-teens, Apr 28, 2007 IP