Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
fixing field names
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmbacon committed Aug 7, 2015
1 parent f1cada1 commit f2767e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/people-grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
echo '</span>';
};

if (in_array('first', $information_to_display) || in_array('middle', $information_to_display) || in_array('last', $information_to_display)){
if (in_array('first_name', $information_to_display) || in_array('middle_name', $information_to_display) || in_array('last_name', $information_to_display)){
echo '<h4 class="person-name">';
if (in_array('first_name', $information_to_display)) {
the_field('first_name');
Expand Down

0 comments on commit f2767e1

Please sign in to comment.