diff --git a/components/member_list.php b/components/member_list.php index 44bb671..8b36f87 100644 --- a/components/member_list.php +++ b/components/member_list.php @@ -9,9 +9,12 @@ function member_list(array $opts) $members = $opts['members']; $heading = array_key_exists('heading', $opts) ? $opts['heading'] : 'Composers'; $show_image = array_key_exists('show_image', $opts) ? $opts['show_image'] : true; - $classes = is_front_page() ? 'composers fp-section' : 'composers p-section'; + $classes = array(is_front_page() ? 'composers fp-section' : 'composers p-section'); + if (isset($opts['classes'])) { + $classes = array_merge($classes, $opts['classes']); + } - $html = '
' . + $html = '
' . '

' . $heading . '

' . '