Support » Fixing WordPress » Comment Popups

  • Now, I know how to setup comment popups, that’s pretty simple, but I was wondering if there was a way to do so, without using the built in functions? In other words, let’s say I want to do the popups with SoopaPop, how could I do it?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Are you talking about just a pop-up window? I’m not sure what you mean…

    I’m talking about generating a popup with the comment form in, and the comments for the post, but not by using the built in functions to do it.
    In other words, I would like to use, as I said SoopaPop, to open the comment popup.

    I have no idea how to do that. Why don’t you want to use the form that comes with WP? What is SoopaPop?

    Deb, it’s in your index.php. Look in your <head> for a line that looks like this:
    <?php // comments_popup_script(); //off by default ?> (near the bottom of the <head>
    Just take out the sets of // and ‘off by default’ and you’ll be popping up your comments in no time.

    Thanks, Cena. I just did that but when I click on a comment it still goes to a page and doesn’t pop up. 🙁 I have it looking like this now:
    <?php // comments_popup_script(); ?>
    Is that correct?

    No…take out that other ‘//’ . 🙂 (That’s how PHP says ‘don’t pay attention to any of this stuff’.)

    Thank you Cena! It works. 🙂

    Uhm…gotta ‘nother problem, I think. Now that I’ve set up comments in a popup, the trackback URL seems to have disappeared. How will visitors know what URL to trackback to for my blog posts? The URL was displayed when comments were in a popup, now URLs aren’t.

    how to change the width and height of the comments pop up page?

    from the readme:

    <?php comments_popup_script() ?>
    This will include the javascript that is required to open comments, trackback and pingback in popup windows.
    You should put this tag before the </head> tag in your template.
    Parameters:
    * width (default is 400)
    * height (default is 400)
    * file name, in case you want to use a different template for comments (default is b2commentspopup.php)

    So to get a 300×200 window, you’d use < ?php comments_popup_script(‘300′,’200’) ?>

    Yay, It’s working, thank you! 🙂

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Comment Popups’ is closed to new replies.