Forum Replies Created

Viewing 15 replies - 16 through 30 (of 62 total)
  • Thread Starter lance007

    (@lance007)

    How am I supposed to match them up? What do I look for? Can’t I just delete the last one?
    I actually have 6 <div> and 9 </div>
    How am I supposed to know which ones I need?

    thanks

    Thread Starter lance007

    (@lance007)

    I give up

    Thread Starter lance007

    (@lance007)

    THAT’S GREAT FOR THE LONG TERM, BUT I NEED EMERGENCY HELP NOW

    Thread Starter lance007

    (@lance007)

    I have no idea how to change themes. Sounds like it would be a nightmare.
    Can you recommend a 3 column theme. How would I remember what changes to make? It seems like I would be starting all over again and just redoing all the mistakes.

    Thread Starter lance007

    (@lance007)

    Trust me to pick a screwed up theme. WordPress should have checked it before putting it up on its site.
    If I choose another theme, won’t I have to set everything up again?
    Can you recommend a good 3 column theme as similar to mine as possible.

    What do you mean “around the comments form”? Are you saying to put it in the page.php file above the line that says <?php commeents_template(); ?>

    I just tried to do that and it didn’t do anything.

    Thread Starter lance007

    (@lance007)

    Could it be in my style.php?

    Thread Starter lance007

    (@lance007)

    You’re right – I’m going crazy here trying different things to fix this issue.

    I really do not want to go back to the original – I’m pretty sure it was bad coding.
    What do you mean my page won’t validate – I have no idea what that means.

    I tried your link and my whole site doesn’t seem to validate. No idea what that means.

    Any possibility of checking my code above and seeing what’s wrong?
    Why would the front page work fine and not the other pages? Where would I find the difference? What controls the other pages compared to what controls the home page? maybe if I can compare the two I will find where the difference lies.

    thanks

    Thread Starter lance007

    (@lance007)

    Thanks – will check out the link. I really do not want to go backwards. Must move forwards

    Thread Starter lance007

    (@lance007)

    The Page.php file doesn’t seem to be doing anything. I have tried to completely delete the code in the page.php file and update it without any code in it, and it still does the same thing. It shows the pages, other than the home page, with the sidebars below the text.

    Thread Starter lance007

    (@lance007)

    The Page.php file doesn’t seem to be doing anything. I have tried to completely delete the code in the page.php file and update it without any code in it, and it still does the same thing. It shows the pages, other than the home page, with the sidebars below the text.

    Thread Starter lance007

    (@lance007)

    I see, But the reason I made the changes was because I didn’t like the way the first one worked. So I would hate to go back to it.

    Can you look at my new post and see if you could help me please:
    “Sidebars Below Text”

    Thanks

    Thread Starter lance007

    (@lance007)

    sorry – that was my fault. I adjusted the margin on the heading to try get more space between the heading and the “post a comment”.
    I’ve corrected it.

    but I still don’t understand why my sidebars are below the text. Please just solve this one problem and I won’t bother you again.

    Thread Starter lance007

    (@lance007)

    hmmm – check it out now – that did something strange – it got rid of my tabs for “home” “about lance” etc… and didn’t fix the problem.

    HELP

    what is Programmer’s Notepad

    Thread Starter lance007

    (@lance007)

    Please don’t leave me hanging. I have posted my page.php below. What do you mean “take the code surrounding where comments_template() call was?

    I will also paste the original comments.php below that. I would hate to go back to the original and start all over because it was so screwed up before. We’ve come a long way.

    page.php now:

    <?php get_header(); ?>
    <!-- CONTENT -->
     <div id="content-wrapper">
       <div id="content">
    		<h1 class="pagetitle"><?php the_title(); ?></h1>
    		<?php global $dlPageId; $dlPageId = null;	?>
    		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    		  <?php $dlPageId = $post->ID; ?>
    		  <?php the_content(); ?>
      		<center><div style="clear: both;"><?php edit_post_link(__('Edit this page','emerald_stretch'), '<p>', '</p>'); ?></div></center>
    		<?php endwhile; endif; ?>
      </div>
    <!-- /CONTENT -->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    original comments.php:

    <?php
    	if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
    		die (__('Please do not load this page directly.', 'emerald_stretch'));
    
            if (!empty($post->post_password)) {
                if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {
    				?>
    				<p><?php _e('This post is password protected. Enter the password to read comments.', 'emerald_stretch'); ?></p>
    				<?php
    				return;
                }
            }
    		$oddcomment = 'alt';
    ?>
    
    <div id="comments">
    	<?php if ($comments) : ?>
    		<h1><?php comments_number(__('No Responses','emerald_stretch'), __('One Response','emerald_stretch'), __('% Responses','emerald_stretch')); //_e(' to “','emerald_stretch'); the_title(); _e('”', 'emerald_stretch'); ?></h1>
    		<div id="comment-area">
    			<ol>
    			<?php foreach ($comments as $comment) : ?>
    				<li class="<?php echo $oddcomment; ?> <?php if (function_exists('author_highlight')) { ?> <?php author_highlight(); ?><?php } ?>" id="comment-<?php comment_ID() ?>">
    
    					<p class="commenter"><?php echo get_avatar( $comment, 48 ); ?> <?php comment_author_link() ?><span class="comment-info"> - <?php comment_date(__('F j, Y', 'emerald_stretch')) ?></span></p>
    					<?php if ($comment->comment_approved == '0') : ?>
    						<span class="comment-moderation"><?php _e('??¢??¢??¢ Your comment is awaiting moderation ??¢??¢??¢', 'emerald_stretch'); ?></span>
    					<?php endif; ?>
    					<?php comment_text() ?>
    				</li>
    
    				<?php
    					if ('alt' == $oddcomment) $oddcomment = '';
    					else $oddcomment = 'alt';
    				?>
    
    			<?php endforeach; ?>
    			</ol>
    		</div>
    
    	<?php if ('closed' == $post->comment_status) : ?>
    		<!-- <h3><?php _e('Comments are closed for this entry.', 'emerald_stretch'); ?></h3> -->
    		</div>
    	<?php endif; ?>
    
    	<?php else : ?>
    		<?php if ('open' == $post->comment_status) : ?>
    		<?php else : ?>
    			<!-- <h3><?php _e('Comments are closed for this entry.', 'emerald_stretch'); ?></h3> -->
      		</div>
    		<?php endif; ?>
    	<?php endif; ?>
    
    	<?php if ('open' == $post->comment_status) : ?>
    		<div id="comment-form">
    			<h1><?php _e('Leave a Reply', 'emerald_stretch'); ?></h1>
    			<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
          <p><?php _e('You must be', 'emerald_stretch'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>"><?php _e('logged in', 'emerald_stretch'); ?></a><?php _e(' to post a comment', 'emerald_stretch'); ?>.</p>
    		</div>
    	<?php else : ?>
    		<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    			<?php if ( $user_ID ) : ?>
            <p><?php _e('Logged in as', 'emerald_stretch'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <?php wp_loginout(); ?>.<!-- <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account', 'emerald_stretch'); ?>"><?php _e('Log out &raquo;', 'emerald_stretch'); ?></a> --></p>
    			<?php else : ?>
            <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="30" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> />
            <label for="author"><?php _e('Name', 'emerald_stretch'); ?><?php if ($req) _e(', required', 'emerald_stretch'); ?></label></p>
            <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="30" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> />
            <label for="email"><?php _e('Email (will not be published)', 'emerald_stretch'); ?><?php if ($req) _e(', required', 'emerald_stretch'); ?></label></p>
            <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="30" tabindex="3" />
            <label for="url"><?php _e('Website (if present)', 'emerald_stretch'); ?></label></p>
    			<?php endif; ?>
    				<p><textarea name="comment" id="comment" cols="60" rows="10" tabindex="4"></textarea></p>
    				<?php do_action('comment_form', $post->ID); ?>
    				<p>
    					<input name="submit" class="button" type="submit" id="submit" tabindex="5" value="<?php _e('Submit', 'emerald_stretch'); ?>" />
    					<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    				</p>
    		</form>
    	</div>
    	<?php endif; ?>
    </div>
    <?php endif; ?>
    Thread Starter lance007

    (@lance007)

    Kawauso,
    I’m not sure I understand. I only want comments on my main postings page. I was talking about the “contact” page and contact form – it seems to be ok now, but the sidebars are all screwed up on my other pages – look at “about lance” and “contact lance” and “disclaimer” pages.

    I took out the comments_template() line in pages.php but that didn’t seem to help.

    I’m dying over here again. please help before you disappear.

Viewing 15 replies - 16 through 30 (of 62 total)