Support » Themes and Templates » How can I customize a popup comment template?

How can I customize a popup comment template?

  • I’d like to know which files are necessary to customize a pop-up comments template. I have this code on my index.php, I don’t know if I should change something here:
    ‘<?php comments_template(); // Get wp-comments.php template ?>’
    I’m confused because there is no wp-comments.php anywhere on my wordpress folder. Also there is no other file on my template folder. Please help me figuring out what to do…

Viewing 7 replies - 1 through 7 (of 7 total)
  • You need to have a comments-popup.php in your theme/template directory.
    It’s probably safest to copy it off an existing theme and work from there.

    Ok I’ll try that! Do I have to change something on my index.php?

    I don’t think so, especially if you have popups working already (if you don’t, you’d have to change header.php I think). I’m not 100% sure because I don’t use popups myself.

    I managed to customize it, but the comment posts themselves, I can’t figure out how to edit.
    Also, when a new comment is posted, instead of just appearing on the top of the comments list, my whole blog appears in the popup, with the current entry and its posts, messing everything up. How can I change this?

    I’m having that same problem and so far no one has been able to help. Here’s a thread that helped some people. It didn’t work for me, but it may work for you:


    I’d love to hear if it does.

    I followed the instructions in the post you linked, and it worked for me. Now, the comments page reloads itself when a comment is posted. Thanks!

    I don’t understand why the fark it won’t work for me, but I’m glad it worked for you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How can I customize a popup comment template?’ is closed to new replies.