diff --git a/templates/staff-content.php b/templates/staff-content.php index 5407acf1..7ce0b30a 100644 --- a/templates/staff-content.php +++ b/templates/staff-content.php @@ -15,9 +15,9 @@ if ( ! isset( $id ) ) $post = get_post( $id ); $content = $post->post_content; if ( $content ) { - ?> -
-
+ ?> +
+
- post_excerpt; if ( $excerpt ) { - ?> -
-

-
- +

+ +

+ post_title; if ( $title ) { - - $staff = new SP_Staff( $id ); - $role = $staff->role(); - if ( $role ) - $title = '' . $role->name . ' ' . $title; - - ?> -
-

-
- role(); + if ( $role ) + $title = '' . $role->name . ' ' . $title; + ?> +

+