Log In · Register

 
post title for wordpress
add1cted2f1re
post May 1 2006, 04:47 PM
Post #1


My name is really Matt... if you care.
******

Group: Member
Posts: 1,442
Joined: Oct 2005
Member No: 258,234



look at my page and how none of my posts have titles

http;//phoenixf1re.melilyn.com

idk what page the problem is on, so heres a few, if its not any of these, tell me



single.php
CODE
    <div id="content" class="widecolumn">
                
  <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
        <div class="navigation">
            <div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
            <div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
        </div>
    
        <div class="post" id="post-<?php the_ID(); ?>">
            <h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    
            <div class="entrytext">
                <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
    
                <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
    
                <p class="postmetadata alt">
                    <small>
                        This entry was posted
                        <?php /* This is commented, because it requires a little adjusting sometimes.
                            You'll need to download this plugin, and follow the instructions:
                            http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
                            /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
                        on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
                        and is filed under <?php the_category(', ') ?>.
                        You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.
                        
                        <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
                            // Both Comments and Pings are open ?>
                            You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.
                        
                        <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
                            // Only Pings are Open ?>
                            Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site.
                        
                        <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
                            // Comments are open, Pings are not ?>
                            You can skip to the end and leave a response. Pinging is currently not allowed.
            
                        <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
                            // Neither Comments, nor Pings are open ?>
                            Both comments and pings are currently closed.            
                        
                        <?php } edit_post_link('Edit this entry.','',''); ?>
                        
                    </small>
                </p>
    
            </div>
        </div>
        
    <?php comments_template(); ?>
    
    <?php endwhile; else: ?>
    
        <p>Sorry, no posts matched your criteria.</p>
    
<?php endif; ?>
    
    </div>




comments.php
CODE
<?php // Do not delete these lines
    if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
        die ('Please do not load this page directly. Thanks!');

        if (!empty($post->post_password)) { // if there's a password
            if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
                ?>
                
                <p class="nocomments"><?php _e("This post is password protected. Enter the password to view comments."); ?><p>
                
                <?php
                return;
            }
        }

        /* This variable is for alternating comment background */
        $oddcomment = "graybox";
        $commentcount = 1;
?>


<?php if ('open' == $post->comment_status) : ?>
<a name=comments></a>
<center>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p>
<?php else : ?>

<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">

<?php if ( $user_ID ) : ?>

<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout &raquo;</a></p>

<?php else : ?>

<p>Name<br><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" tabindex="1" />


<br>E-mail<br><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" tabindex="2" />


<br>http://<br><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" tabindex="3" />


<?php endif; ?>


<?php if (function_exists('SJB_outputSmilies')) {SJB_outputSmilies();} ?>

<br>Comment<br><textarea name="comment" id="comment" cols="20" rows="4" tabindex="4" wrap="virual"></textarea>


<br><br><INPUT TYPE=reset class="texta"  VALUE="Clear"> <input name="submit" type="submit" id="submit" tabindex="5" class="texta" value="Post it!" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
<input type="hidden" name="comment_reply_ID" id="comment_reply_ID" value="0" />
</p>
<?php do_action('comment_form', $post->ID); ?>

</form></center>


<?php endif; // If registration required and not logged in ?>

<?php endif; // if you delete this the sky will fall on your head ?>





<?php // Do not delete these lines
    if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
        die ('Please do not load this page directly. Thanks!');

        if (!empty($post->post_password)) { // if there's a password
            if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
                ?>
                
                <p class="nocomments">This post is password protected. Enter the password to view comments.<p>
                
                <?php
                return;
            }
        }

        /* This variable is for alternating comment background */
        $oddcomment = 'alt';
?>

<!-- You can start editing here. -->
<script type="text/javascript">
<!--
function reply_to(ID)
{
document.getElementById('comment_reply_ID').value = "" + ID + "";
}
-->
</script>

<?php if ($comments) : ?>
    <h4><span class="small"># of Comments:</span> <?php comments_number('None yet', '<font face="georgia">1</font> Comment', '<font face="georgia">%</font> Comments' );?></h4>


<?php foreach ($comments as $comment) : ?><br><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; text-align:justify" bordercolor="#111111" width="100%" id="AutoNumber3">
  <tr>
    <td width="3%" style="text-align:justify"><font size="1"><?php echo $commentcount++;?>.</td>
    <td width="97%">
<h5><?php the_time('l, F j, Y') ?> -</h5></td>
  </tr>
  <tr>
    <td width="3%"> </td>
    <td width="97%" valign="top">
            <h2><?php comment_author() ?>@<?php comment_time() ?></a> - <a href="<?php comment_author_url(); ?>" target="_blank" title="<?php comment_author_url(); ?>">&hearts;</a> <a href="mailto:<?php comment_author_email(); ?>" target="_blank" title="<?php comment_author_email(); ?>">&hearts;</a></h2>
            <?php if ($comment->comment_approved == '0') : ?>
            <em>Your comment is awaiting moderation.</em>
            <?php endif; ?>
            
            <?php comment_text() ?>
<?php edit_comment_link('edit this comment','',''); ?>

        </td></tr>
</table><br>

    <?php /* Changes every other comment to a different class */    
        if ('alt' == $oddcomment) $oddcomment = '';
        else $oddcomment = 'alt';
    ?>

    <?php endforeach; /* end for each comment */ ?>

    

<?php else : // this is displayed if there are no comments so far ?>

  <?php if ('open' == $post->comment_status) : ?>
        <!-- If comments are open, but there are no comments. -->
        
     <?php else : // comments are closed ?>
        <!-- If comments are closed. -->
        <p class="nocomments">Comments are closed.</p>
        
    
<?php endif; ?>
<?php endif; ?>
 
 
Start new topic
Replies
Mulder
post May 1 2006, 07:10 PM
Post #2


i lost weight with Mulder!
*******

Group: Official Designer
Posts: 4,070
Joined: Jan 2005
Member No: 79,019



next time please listen to me! its so frustrating..seeing as i told you exactly what to do to make sure this never happened...and you ignored me anyway. stubborn.gif

but, to end my rambling, topic closed
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: