• When I edit the templates, it does not display the template as I see it. I edit the original template removing to remove the bullets on the list but the bullets still remain on the template. I know my html coding is correct because I run it through wc3.org’s validator.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Can you provide a link to your site? I am thinking that you may have to change a setting in your CSS style sheet.
    Craig.

    Thread Starter roninmedia

    (@roninmedia)

    <?php
    /* Don’t remove these lines. */
    $blog = 1;
    require_once(‘wp-blog-header.php’);
    ?>
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”http://www.w3.org/1999/xhtml”&gt;
    <head>
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <?php get_archives(‘monthly’, ”, ‘link’); ?>
    <?php //comments_popup_script(); // off by default ?>
    <?php if ($posts) { foreach ($posts as $post) { start_wp(); ?>
    ————————————————————————————————————–
    this is the coding I got so far as I try to build my template from scratch but i keep getting parse errors. Parse error: parse error in c:\phpdev\www\wordpress\index.php on line 26. As far as I can see, I see no problems with the code. Can anyone help me?

    Well, for starters, you’re missing the last half of the loop. The loop is started by the foreach line…. then there’s nothing after that….
    You should get a copy of the original index.php that came with WP, and copy over some more of the WP code that will display the posts, and complete the loop.
    TG

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘templates trouble’ is closed to new replies.