diff --git a/page-stats.php b/page-stats.php index 6c054c9..93a544b 100644 --- a/page-stats.php +++ b/page-stats.php @@ -41,6 +41,10 @@
', '
'); ?> + + @@ -65,12 +69,39 @@ $places = get_field('orte'); if($places){ foreach ($places as $place){ - $locations[] = array("post" => $post->ID, "place" => $place); + $locations[] = array_merge(array("post" => $post->ID), $place); } } endwhile; var_dump($locations); ?> + + \ No newline at end of file