Comment form suport
This commit is contained in:
parent
a6aa06d2af
commit
ea7405c9bc
|
@ -16,7 +16,7 @@ if(!function_exists('tainacan_setup')) {
|
||||||
**/
|
**/
|
||||||
show_admin_bar( false );
|
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' );
|
add_theme_support( 'post-thumbnails' );
|
||||||
/**
|
/**
|
||||||
* Desabilita o FTP na instalação de Plugins
|
* Desabilita o FTP na instalação de Plugins
|
||||||
|
|
|
@ -9,6 +9,7 @@ function tainacan_Comments_Callback($comment, $args, $depth) {
|
||||||
//get comment to determine type
|
//get comment to determine type
|
||||||
$GLOBALS['comment'] = $comment;
|
$GLOBALS['comment'] = $comment;
|
||||||
global $post;
|
global $post;
|
||||||
|
//var_dump($args);die;
|
||||||
$class_has = "has-children media comment-". $comment->comment_ID; ?>
|
$class_has = "has-children media comment-". $comment->comment_ID; ?>
|
||||||
<div <?php comment_class( $args['has_children'] ? $class_has : ' media' ); ?>>
|
<div <?php comment_class( $args['has_children'] ? $class_has : ' media' ); ?>>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue