'; foreach ( $templates as $name => $template ) { $template_title = isset( $template['title'] ) ? $template['title'] : ucfirst( $name ); $template = us_fix_grid_settings( $template ); $body .= '
  • '; $body .= '
    '; $body .= '
    '; $body .= ''; $body .= '
    '; $body .= '
    ' . $template_title . '
    '; $body .= ''; $body .= '
    '; $body .= '
  • '; } $body .= ''; } $output = '
    '; $output .= '
    ' . __( 'Grid Layout Templates', 'us' ) . '
    '; $output .= '
    '; $output .= $body; $output .= ''; $output .= '
    '; $output .= '
    '; echo $output;