WordPress.org

Support

Support » Themes and Templates » Ugh – Comments Links

Ugh – Comments Links

Viewing 15 replies - 1 through 15 (of 19 total)
  • Hover your comment links and look where they point – you have made a mistake somewhere in your template.

    not my template…
    hhhmmm do you have any idea where that could be… I’ll look around…

    Look at your comments link – it gives your domain twice. So somewhere, instead of the actual code, something else has been inserted.

    If it doesn’t look like this, it’s broken:
    <div class="feedback">
    <?php wp_link_pages(); ?>
    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    </div>

    </div>

    <?php comments_template(); // Get wp-comments.php template ?>

    in which of the templates? main? comments?

    index / main

    Where did you get the template ?

    This is my comments template:

    [Moderated – unneeded code removed]

    This is my index/main

    <?php get_header(); ?>

    <!-- begin content -->
    <div id="content" class="narrowcolumn">

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class="divTitle1">
    <div class="divTitle3"><span class="titolino"><?php the_title(); ?></span>
    Posted on : <?php the_time('F jS, Y') ?> @ <?php the_time('g:i a'); ?> by <img src="images/name.gif" alt="name" title="name"/> </div></div>
    <div class="post" id="post-<?php the_ID(); ?>">
    <span class="pside">Admin :</span><?php edit_post_link('Edit the post.','',''); ?>
    <span class="pside">Post category :</span> <?php the_category(', ') ?>
    <span class="pside">Link to post :</span> ">permalink
    <span class="pside">Comments :</span> <img src="/images/speechbubble.gif" alt="speechbubble" title="speechbubble"/> <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>
    <div class="entry">
    <?php the_content('Read the rest of this entry »'); ?>
    </div>

    </div>
    <?php comments_template(); // Get wp-comments.php template ?>

    <?php endwhile; ?>

    <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 else : ?>
    <div class="box">
    <h2 class="center">Not Found</h2>
    <p class="center">Sorry, but you are looking for something that isn't here.
    <?php include (TEMPLATEPATH . "/searchform.php"); ?>
    </div>
    <?php endif; ?>

    </div>
    <!--end content -->

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    I got it from http://v4ny.net/

    Have you asked the theme author / checked their site / checked comments on their site for others with this issue ?

    no
    it had seemed like it was working earlier…
    and I just downloaded the file again directly from the site, and it looks the same *sigh*

    In Options, are the two urls the same ?
    (Don’t go changing anything, just check)

    yes

    ha, I feel like Im going outta my mind cuz I dont know what the heck happend LOL

    and Im startin’ to get really really tired…

    whats your email addy? I could always have you log into my account (I see that you are going to be doing this for a living, I trust ya) 😉 and if you get some time, check it out for me?

    Can you paste your index (the above file) here:
    http://phpfi.com/

    It’ll be easier to read. post the url back.

    hope I did this right

    http://phpfi.com/74880

    Wierd … outside of the post div, it’s all good. The feed links are good.
    But inside the post div, the permalink and the comments link are doubling your url – and I cannot see why ..

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Ugh – Comments Links’ is closed to new replies.
Skip to toolbar