View Full Version : Wordpress Help
Aredhel 10-08-2005, 11:09 AM Hope this is where this post supposed to go.
I've installed wordpress and now all I want is help with the comments page. If you go to my webpage and click on the link that says "Voice It!", it will take you to the comment page section. Then you can see instead of the layout that is supposed to appear I have this white page with my blog entry and that is it.
So anyone knows why? Which file am I supposed to edit to get rid of the white background page and replace it with my original layout? I tried editing the file comments.php, but it doesn't work. Help please =(.
Stormx 10-08-2005, 09:12 PM I do not see a link which says "Voice it" on your webpage
Aredhel 10-09-2005, 12:31 AM Go here: http://ebil.beulye.com/wp-content/themes/ebil/blog.php ... actually if you scroll down my introduction page, you can see under Navigation how to go to the blog. Click on the image AREDHEL to go there. Then scroll down again and you can see 'Voice It'.
Stormx 10-09-2005, 12:38 AM :-\ Now i just get a 404
Aredhel 10-09-2005, 12:47 AM A 404?? Gah, I don't know because I am able to view it, both in IE and Firefox ... bleh. Have you tried clicking on AREDHEL instead?
Aredhel 10-09-2005, 11:46 PM <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
<font class="date"><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></a></font>
<br>
<hr noshade class="line" align="left">
<br>
<img src="box.gif" width="11" height="17"> <font size="5" colour="#000000"><i><?php the_title(); ?></i></font>
<p>
<?php the_content(); ?>
<p>
<div align="right">Filed under: <?php the_category(', ') ?> - <?php comments_popup_link('Voice It!', '1 Voice', '% Voices'); ?></div>
<p>
<?php comments_template(); ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
</div>
<?php endforeach; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?> </p> <?php endif; ?><br><br>
The above one is for my blog entry and below is the comments.php of wordpress
<?php if ( !empty($post->post_password) && $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) : ?>
<p><?php _e('Enter your password to view comments.'); ?></p>
<?php return; endif; ?>
<h2 id="comments"><?php comments_number(__('No Comments'), __('1 Comment'), __('% Comments')); ?>
<?php if ( comments_open() ) : ?>
<a href="#postcomment" title="<?php _e("Leave a comment"); ?>">»</a>
<?php endif; ?>
</h2>
<?php if ( $comments ) : ?>
<?php foreach ($comments as $comment) : ?>
<div class="commentbox">
<div class="commentid">
<a href="#comment-<?php comment_ID() ?>"><?php comment_ID(); ?></a> </div>
<p class="commentby"><?php comment_type(__('Comment'), __('Trackback'), __('Pingback')); ?> <?php _e('by'); ?> <?php comment_author_link() ?></p>
<p class="commentinfo"><?php comment_date() ?> @ <?php comment_time() ?> <?php edit_comment_link(__("Edit This"), ' |'); ?></p>
<?php comment_text() ?>
</div>
<?php endforeach; ?>
<?php else : // If there are no comments yet ?>
<p><?php _e('No comments yet.'); ?></p>
<?php endif; ?>
<p><?php comments_rss_link(__('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.')); ?>
<?php if ( pings_open() ) : ?>
<a href="<?php trackback_url() ?>" rel="trackback"><?php _e('TrackBack <abbr title="Uniform Resource Identifier">URI</abbr>'); ?></a>
<?php endif; ?>
</p>
<?php if ( comments_open() ) : ?>
<h2 id="postcomment"><?php _e('Leave a comment'); ?></h2>
<?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="<?php _e('Log out of this account') ?>">Logout »</a></p>
<?php else : ?>
<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
<label for="author"><small>Name <?php if ($req) _e('(required)'); ?></small></label></p>
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
<label for="email"><small>Mail (will not be published) <?php if ($req) _e('(required)'); ?></small></label></p>
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
<label for="url"><small>Website</small></label></p>
<?php endif; ?>
<p><small><strong>XHTML:</strong> You can use these tags: <?php echo allowed_tags(); ?></small></p>
<p><textarea name="comment" id="comment" cols="44" rows="10" tabindex="4"></textarea></p>
<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
</p>
<?php do_action('comment_form', $post->ID); ?>
</form>
<?php endif; // If registration required and not logged in ?>
<?php else : // Comments are closed ?>
<p><?php _e('Sorry, the comment form is closed at this time.'); ?></p>
<?php endif; ?>
Aredhel 10-10-2005, 05:47 AM Sorry this is the right URL for my blog
http://www.beulye.com/ebil/wp-content/themes/ebil/blog.php
Monkey Bizzle 10-10-2005, 05:02 PM When you say it doesn't show the "layout," what do you mean? How do you want it to look? You don't have any layout coding in the comments page... Well, there is, but it's using id's and classes from the style sheet, but the style sheet for that page doesn't have them in it...
Aredhel 10-10-2005, 09:04 PM If you go here: http://ebil.beulye.com/ ... that is the layout that I want my comments page to have. When I click on the link to my comments page, I will not see my layout, but instead I can see a white-background page along with my entry, comment section and the comments I recevied from people.
So yeah that is what I mean. I've tried editing comments.php, comments-popup.php and the stylesheet, but my layout still doesn't appear. The only thing that changes are the colour of the font, type of font, borders on the comments and etc.
Monkey Bizzle 10-10-2005, 09:21 PM If you go here: http://ebil.beulye.com/ ...
I get a database connection error on that page...
Aredhel 10-11-2005, 05:46 AM That is very weird. I am able to view it and so are the others whom I know. Well if it is an error in the database I think my host may be updating something on wordpress. I think she has finsihed updating whatever it is because I am able to view my blog. I think I should mention that the file name for my blog is blog.php instead of index.php. Do you think it has something to do with that?
Aredhel 10-11-2005, 03:11 PM That is really weird. *sigh* well since no one knows how to do it and since those who do but aren't able to view my site, I guess I am calling it quits. Thanks anyway for all of your help =).
Spirit892 10-11-2005, 08:59 PM I can help! Don't give up. :) Now, I looked at your files and see that you are using font and background color tags to customize your comments page.. I suggest using css instead. Maybe wordpress is confused by your using inproper coding to code your website and is simply not displaying it correctly.
Aredhel 10-12-2005, 12:34 AM I haven't add the css for my comments page into my stylesheet yet, the one in the default theme stylesheet that says #commentform and bla bla bla. I'll add that later as soon as I am able figure out how to get my layout onto my comments page.
You see, when you click on my site you can see the circle-y layout and I want that layout to appear in my comments page too. I've edited comments.php and commentspopup.php by putting the coding for my layout into them, but even that doesn't work. All that I am able to see is a white background page.
|