Grow your CSS skills. Land your dream job.

Comments not obeying.

  • # March 3, 2009 at 8:50 pm

    I’ve been trying to tinker with it however, I’m definitely not good at coding. :D I can’t seem to make the comment page to look like other pages or to make it on the same page.

    Doh! Wow, I’m being slow today, sorry about that. Here’s the site. Clearly the comments are not even working because it’s permalink which I do not understand why. However that can be changed. It will probably end up being a stupid reason for why it’s not working.

    I can’t seem to get the comments page to look like the index, or at least the basics of it.

    And this is the chunk of code at the bottom with the date, category and the comments.

    Code:

    < ?php the_time('F j, Y'); ?> at < ?php the_time('g:i a'); ?> | < ?php the_category(', '); ?> |
    < ?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
    < ?php comments_template(); // Get wp-comments.php template ?>

    # March 3, 2009 at 9:04 pm

    You might like to read this article before posting a question of this type to the forums.

    :mrgreen:

    # March 4, 2009 at 3:10 pm

    Sorry about that, I’ve fixed it the post I hope.

    # March 4, 2009 at 6:36 pm

    Hey no worries that’s what that article is for :)

    # March 4, 2009 at 6:52 pm

    Comments seem to be working for me. The index page has the comment count and the single post page has the comments in full.

    This is the default behaviour with WordPress – what were you expecting it to do?

    [img]http://img6.imageshack.us/img6/5702/pandabear.jpg[/img]

    [img]http://img16.imageshack.us/img16/9532/pandabearcomment.jpg[/img]

    # March 4, 2009 at 8:40 pm

    I can’t seem to get the comments page to look like the index, or at least the basics of it. If that’s understandable. :)

    # March 5, 2009 at 7:27 am

    The index page is index.php in the theme folder. The single post page is single.php.

    Unfortunately you need to duplicate the format you used in index.php in single.php to get them to look the same.

    This is IMO one of the weark links with WordPress theming – too much duplication. But it is still one of the best blog and CMS platforms out there ;)

    # March 7, 2009 at 8:47 am

    Thanks! It’s fixed now. :)

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".