Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
reverted some changes
  • Loading branch information
Zurawel committed Sep 5, 2018
1 parent a70c8a1 commit 135b674
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions uc-people-widget.php
Expand Up @@ -36,13 +36,12 @@ Class UC_People_Widget extends WP_Widget {
private function createTextCell( $field, $information_to_display, $id ){
$cell = '';
if (in_array($field, $information_to_display)) {
//$cell .= '<td class="person-'.$field.'">'.get_field($field, $id ).'</td>';
$cell .= '<td class="person-'.$field.'">'.get_field($field, $id ).'</td>';
}
return $cell;
}

private function get_people_grid( $args, $information_to_display ){

$the_query = new WP_Query( $args );
$out = '';
if( $the_query->have_posts() ){
Expand Down

0 comments on commit 135b674

Please sign in to comment.