• Argh… it’s taken me forever and ever to get the php just right to get WordPress to work properly! And now, for some reason the links to the comments page is not a clickable link, the images in my sidebar aren’t showing up, and when I go to a comment page, the comments do not show!! What’s wrong? My log is at https://log.dakishime.net. This is my index HTML:

    <?php
    /* Short and sweet */
    define(‘WP_USE_THEMES’, false);
    require(‘./wp-blog-header.php’);
    ?>
    <html>
    <head>
    <title> s u r r e a l i s t i c . . . . . [ 29 ] . . . . . . . . . . . . . . . . . . . . . . . .</title>
    ??? <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
    <link rel=”stylesheet” href=”Style29.css” type=”text/css”>
    </head>
    <div class=”img”>
    <body bgcolor=”#D8D8D8″ leftmargin=”0″ topmargin=”0″ marginwidth=”0″ marginheight=”0″>
    <!– ImageReady Slices (surr.psd) –>
    <table id=”Table_01″ width=”706″ height=”515″ border=”0″ cellpadding=”0″ cellspacing=”0″>
    <tr>
    <td>
    <img src=”images/v29_01.jpg” width=”706″ height=”34″ alt=””></td>
    </tr>
    <tr>
    <td>
    <img src=”images/v29_02.jpg” width=”706″ height=”35″ alt=””></td>
    </tr>
    <tr>
    <td>
    <img src=”images/v29_03.jpg” width=”706″ height=”34″ alt=””></td>
    </tr>
    <tr>
    <td>
    <img src=”images/v29_04.jpg” width=”706″ height=”34″ alt=””></td>
    </tr>
    <tr>
    <td>
    <img src=”images/v29_05.jpg” width=”706″ height=”35″ alt=””></td>
    </tr>
    <tr>
    <td>
    <img src=”images/v29_06.jpg” width=”706″ height=”34″ alt=””></td>
    </tr>
    <tr>
    <td>
    <img src=”images/v29_07.jpg” width=”706″ height=”34″ alt=””></td>
    </tr>
    <tr>
    <td>
    <img src=”images/v29_08.jpg” width=”706″ height=”35″ alt=””></td>
    </tr>
    <tr>
    <td>
    <img src=”images/v29_09.jpg” width=”706″ height=”34″ alt=””></td>
    </tr>
    <tr>
    <td>
    <img src=”images/v29_10.jpg” width=”706″ height=”34″ alt=””></td>
    </tr>
    <tr>
    <td>
    <img src=”images/v29_11.jpg” width=”706″ height=”35″ alt=””></td>
    </tr>
    <tr>
    <td>
    <img src=”images/v29_12.jpg” width=”706″ height=”34″ alt=””></td>
    </tr>
    <tr>
    <td>
    <img src=”images/v29_13.jpg” width=”706″ height=”34″ alt=””></td>
    </tr>
    <tr>
    <td>
    <img src=”images/v29_14.jpg” width=”706″ height=”35″ alt=””></td>
    </tr>
    <tr>
    <td>
    <img src=”images/v29_15.jpg” width=”706″ height=”34″ alt=””></td>
    </tr>
    </table>
    <!– End ImageReady Slices –>
    </div>
    <div class=”side”>
    <?php include(‘sidebar.html’) ?>
    </div>
    <div class=”main”>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <h3 class=”head”><?php the_date(‘l, F j, Y’, ”, ”); ?></h3>
    ” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”>
    <p class=”head”><?php the_title(); ?>

    <?php the_content(‘Read the rest of this entry ??’); ?>
    <small>#<?php the_ID(); ?> <?php the_time(‘g:i`a’) ?></small> <b>by <?php the_author() ?></b>
    <p class=”postmetadata”>
    |
    <?php edit_post_link(‘Edit’,”,’|’); ?>
    <?php comments_popup_link(‘Seek truth’, ‘SM1LE’, ‘% Beautiful’, ”, ‘Comments disabled’); ?>

    <!– Stop The Loop (but note the “else:” – see next line). –>
    <?php endwhile; else: ?>

    <!– The very first “if” tested to see if there were any Posts to –>
    <!– display. This “else” part tells what do if there weren’t any. –>
    Sorry, no posts matched your criteria.

    <!– REALLY stop The Loop. –>
    <?php endif; ?>
    </div>
    </body>
    </html>

Viewing 2 replies - 1 through 2 (of 2 total)
  • To display comments (and the comments form), if you’re using WordPress 1.2.x, this should be in your template:

    <?php include(ABSPATH . 'wp-comments.php'); ?>

    If 1.5.x:

    <?php comments_template(); ?>

    Thread Starter Brigitte

    (@brigitte)

    Thanks!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Comments not showing up!’ is closed to new replies.