WordPress.org

Ready to get started?Download WordPress

Forums

How can I customize a popup comment template? (8 posts)

  1. resg
    Member
    Posted 9 years ago #

    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...

  2. Minna
    Member
    Posted 9 years ago #

    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.

  3. resg
    Member
    Posted 9 years ago #

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

  4. Minna
    Member
    Posted 9 years ago #

    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.

  5. resg
    Member
    Posted 9 years ago #

    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?

  6. JustKat
    Member
    Posted 9 years ago #

    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:

    http://wordpress.org/support/topic.php?id=25848#post-151218

    I'd love to hear if it does.

  7. resg
    Member
    Posted 9 years ago #

    Hey,
    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!

  8. JustKat
    Member
    Posted 9 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.