diff --git a/www/wp-content/themes/ation2016/page.php b/www/wp-content/themes/ation2016/page.php index 717b3db..476c3b0 100755 --- a/www/wp-content/themes/ation2016/page.php +++ b/www/wp-content/themes/ation2016/page.php @@ -56,7 +56,7 @@ $semesters = Timber::get_terms('semester'); foreach ( $semesters as $key => $semester ) { $member_args = array( - 'post_type' => 'members', + 'post_type' => 'member', 'posts_per_page' => -1, 'tax_query' => array( array( diff --git a/www/wp-content/themes/ation2016/templates/page-about.twig b/www/wp-content/themes/ation2016/templates/page-about.twig index 73e4305..f0936d6 100644 --- a/www/wp-content/themes/ation2016/templates/page-about.twig +++ b/www/wp-content/themes/ation2016/templates/page-about.twig @@ -1,7 +1,19 @@ {% extends "base.twig" %} {% block content %} -
-
{{ dump(semesters) }}
-
+ + {% for semester in semesters %} + +
+
+

{{ semester.name }}

+
+
+ + {% for member in semester.members %} +

{{ member.name }}

+ {% endfor %} + + {% endfor %} + {% endblock %} \ No newline at end of file