diff --git a/wp-content/themes/studio13/functions.php b/wp-content/themes/studio13/functions.php index 5a05ee2..a05e5d7 100644 --- a/wp-content/themes/studio13/functions.php +++ b/wp-content/themes/studio13/functions.php @@ -12,6 +12,7 @@ add_theme_support( 'post-thumbnails' ); add_image_size( 'eight-columns', 650, 500, true ); add_image_size( 'four-columns', 310, 160, true ); +add_image_size( 'artist-thumb', 310, 260, true ); function studio_enqueue_scripts() { diff --git a/wp-content/themes/studio13/template-artists.php b/wp-content/themes/studio13/template-artists.php index 72859e7..9fa980d 100644 --- a/wp-content/themes/studio13/template-artists.php +++ b/wp-content/themes/studio13/template-artists.php @@ -21,9 +21,9 @@ Template Name: Artists page /* Print our custom post type */ $query = new WP_Query( array ( 'post_type' => 'artist', 'orderby' => 'title', 'order' => 'asc') ); while ( $query->have_posts() ): - $query->the_post(); - echo '
  • '.get_the_post_thumbnail('four-columns') . get_the_title() . '
  • '; - endwhile; + $query->the_post(); ?> +
  • +