niya
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Dynamic Sidebar CSSThe site was on maintenance mode right now which is why I couldn’t show you the live version ??
You actually just solved it! what I did before was remove the widgets but I always placed them back to the same position as before. I never tried moving them around.
Once I changed their positions I saw that the code broke only after the chatbox. It seems I had an extra </div> in the widget which was breaking my code. It never crossed my mind that it could be the code in the widget …. something so simple.
This is what happens when you stare at something to long.
Thank you!!
Forum: Themes and Templates
In reply to: Comments LinkI got it!!!
Thanks so much, henkholland! ??
Forum: Themes and Templates
In reply to: Comments LinkOh wait! I think I found it. Is this it?
<p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit'); ?></p> </div> <div class="ping-track clear"> This entry was posted 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(); ?>" 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(); ?> " 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 } ?> </div>
The only problem is that I don’t know what the delete and what not to. I’m still playing around with it.
Forum: Themes and Templates
In reply to: Comments LinkHiya! I checked in the single post and was able to get rid of the hyperlink. Thanks for that! ??
Yes, I do have a comments.php page. There was this section that I thought might be the pingback line, but when I removed it, all the comments went away. Do I need to change the coding a bit, you think? Code is below!
<div id="comments" class="post-1"> <?php if ($comments) : ?> <?php /* Count the totals */ $numPingBacks = 0; $numComments = 0; foreach ($comments as $comment) { if (get_comment_type() != "comment") { $numPingBacks++; } else { $numComments++; } } ?> <?php if ($numComments != 0) : ?>