diff --git a/uc-people-widget.php b/uc-people-widget.php index 202ceee..cea7cad 100644 --- a/uc-people-widget.php +++ b/uc-people-widget.php @@ -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 .= ''.get_field($field, $id ).''; + $cell .= ''.get_field($field, $id ).''; } return $cell; } private function get_people_grid( $args, $information_to_display ){ - $the_query = new WP_Query( $args ); $out = ''; if( $the_query->have_posts() ){