Comment form suport

This commit is contained in:
Fabiano Alencar 2018-03-16 11:32:12 -03:00
parent a6aa06d2af
commit ea7405c9bc
2 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,7 @@ if(!function_exists('tainacan_setup')) {
**/
show_admin_bar( false );
add_theme_support( 'html5', array( 'comment-list' ) );
add_theme_support( 'html5', array( 'comment-list' , 'comment-form') );
add_theme_support( 'post-thumbnails' );
/**
* Desabilita o FTP na instalação de Plugins

View File

@ -9,6 +9,7 @@ function tainacan_Comments_Callback($comment, $args, $depth) {
//get comment to determine type
$GLOBALS['comment'] = $comment;
global $post;
//var_dump($args);die;
$class_has = "has-children media comment-". $comment->comment_ID; ?>
<div <?php comment_class( $args['has_children'] ? $class_has : ' media' ); ?>>
<?php