• Hey everybody!

    I’m currently creating my own theme for WP, which is really cool. But I ran into a problem, when trying to template the comments-view. I currently only have an index.php, header/footer.php and the style.css in my theme.

    I’ve added two links in the Loop on index.php. One with
    <?php comments_link(); ?>

    and one
    <?php comments_popup_link(‘Kommentieren’, ‘Kommentieren’, ‘Kommentieren’); ?>

    But when I click on either of those two, the page changes to a simple view of the post. Nothing more. No comments or input forms. Even if I copy the comments.php or comments-popup.php to my theme, nothing changes.

    What am I doing wrong here?
    Thx in advance!

    Tim

Viewing 1 replies (of 1 total)
  • Thread Starter tadler

    (@tadler)

    Sorry for bothering: I got this!
    I had no single.php, which is for showing a single post. Therefore WP took the index.php as fallback. But the single.php contains a comments_template();-tag, which includes the comments.php!

Viewing 1 replies (of 1 total)
  • The topic ‘Templating the Comments-View: Nothing shows up’ is closed to new replies.