Trackback error Adelle 10.1 (2 posts)

  1. meatified
    Posted 2 years ago #

    I installed Adelle yesterday and noticed today that there is a problem with displaying trackbacks. Each individual ping / trackback generates this error on the page where the trackback should be displayed:

    Warning: call_user_func() expects parameter 1 to be a valid callback, function 'comment_style' not found or invalid function name in /home/content/66/9573966/html/wp-includes/comment-template.php on line 1334

    You can see what I mean at the bottom of this post, below the comments.

    'comment_style' isn't found in line 1334. Here's 1333 - 1336:

    if ( !empty( $args['callback'] ) ) {
    			call_user_func( $args['callback'], $comment, $args, $depth );

    I know absolutely nothing about how to resolve this, so any help would be greatly appreciated!

  2. wongpk
    Posted 2 years ago #

    Open comments.php and find Line 25:

    <?php wp_list_comments('type=pingback&callback=comment_style'); ?>

    Change it to:

    <?php wp_list_comments('type=pingback'); ?>

    See if that helps?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic