• I am trying to implement the comments popup script for a blog. I have changed the code in the header to enable the script, and it’s working fine.
    I didn’t have a comment popup template in my theme so I took the default file and modified it to what I was looking for. It comment form pops up in a new window but it’s not processing any of the php tags. Each php line it says “Call to undefined function function_name()”

    I read through this link http://codex.wordpress.org/Function_Reference/comments_popup_link and also the comments_popup_script that is mentioned in the first paragraph of this page. I’ve searched the forums, but every other post seems to have a different problem.

    As far as I know the comment popup file only needs this snippet at the top of the page correct? Did I miss something else?

    <?php
    /**
     * @package WordPress
     * @subpackage Default_Theme
     */
    ?>

    Thanks for your help.

Viewing 1 replies (of 1 total)
  • I am having a similiar problem that I can’t seem to figure out, but I can tell you right now that the code you just quoted does absolutely nothing.

    What you have there is a comment and nothing else. I do believe the code your looking for is:

    <?php comments_popup_script(); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Comments popup script’ is closed to new replies.