Currently, I’m using a WordPress theme that is built on Foundation. However, the theme doesn’t have its own comments.php file and it’s currently using the soon to be deprecated comments.php from wordpress\wp-includes\theme-compat folder.
So what I did is to copy/paste the latest comments.php file from the TwentyTwelve theme folder into my current theme folder. However, this results in an error:
Warning: call_user_func() expects parameter 1 to be a valid callback, function 'twentytwelve_comment' not found or invalid function name in C:\xampp\htdocs\wordpress\wp-includes\comment-template.php on line 1334
What do I need to change in the TwentyTwelve comments.php file to get it to work on the current theme?
- The topic ‘How to get WordPress TwentyTwelve comments.php to work on another theme?’ is closed to new replies.