Support » Fixing WordPress » Comments php in a new theme.

  • I am struggling a bit with the php call to the comments which is in a different form to the includes for header and footer in WP 1.3. It seems to be calling a function. Can anyone point me to the function, so it can be edited please ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Ryan Boren

    (@ryan)

    WordPress Dev

    comments_template() is the function. If your theme provides comments.php that will be loaded instead of wp-comments.php. Likewise, comments-popup.php will be loaded if you are using popup comments.

    Thanks for that. Your input on all things – themes – is invaluable. There isnt a file path or anything that needs to be tweaked.?

    assuming i understand the last question correctly, not as long as your comments.php file is within your themes directory.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Comments php in a new theme.’ is closed to new replies.