WordPress.org

Ready to get started?Download WordPress

Forums

Comments php in a new theme. (4 posts)

  1. Root
    Member
    Posted 9 years ago #

    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 ?

  2. Ryan Boren
    WordPress Dev
    Posted 9 years ago #

    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.

  3. Root
    Member
    Posted 9 years ago #

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

  4. Jark
    Member
    Posted 9 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.