This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="page-inner"> | |
<div class="around-add"> | |
<div class="section-wide large-12 columns" style="margin:3px auto 10px;"><h2 class="section-title">Latest Stories</h2></div> | |
<?php | |
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; | |
$counter = 1; | |
$args = array( | |
'post_type' => 'post', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class bruno_walker_comment extends Walker_Comment { | |
public $tree_type = 'comment'; | |
public $db_fields = array ('parent' => 'comment_parent', 'id' => 'comment_ID'); | |
public function start_lvl( &$output, $depth = 0, $args = array() ) { | |
$GLOBALS['comment_depth'] = $depth + 1; | |
switch ( $args['style'] ) { | |
case 'div': | |
break; |