How do I edit Comments.php so I can add Schema markup to comment output?

The comments are outputted via a callback function given as an argument in this function: wp_list_comments(). In your comments.php you will likely find the wp_list_comments() function with often a callback argument like so wp_list_comments( array ( ‘callback’ => ‘callback_function_name’)) You can copy comments.php into your child-theme and modify the call to the function with a … Read more

Difference between date and date_gmt

The database is correct in this case. comment_date is the datetime of your WordPress timezone setting and comment_date_gmt is the same datetime, but converted to Greenwich Mean Time (GMT). GMT is the timezone all other timezones are offset from while UTC is the time standard. In most practical applications they’re interchangeable. The problem you’re probably … Read more

Warning and fatal error

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘sanitize_comment_cookies’ not found or invalid function name in /homepages/9/d346623364/htdocs/wp-includes/class-wp-hook.php on line 286 This means you have a function named sanitize_comment_cookies hooked to an action or filter, either in your theme or a plugin, but that function is not available. Look for the code: add_action(‘some_action_name’, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)