Merge pull request #233 from PareshRadadiya/fix/179

Fix - Include staff name and profile in [staff] shortcode
This commit is contained in:
Brian Miyaji
2018-01-17 10:19:06 +11:00
committed by GitHub
5 changed files with 80 additions and 2 deletions

View File

@@ -19,7 +19,10 @@ class SP_Shortcode_Staff {
if ( ! isset( $atts['id'] ) && isset( $atts[0] ) && is_numeric( $atts[0] ) )
$atts['id'] = $atts[0];
sp_get_template( 'staff-photo.php', $atts );
sp_get_template( 'staff-header.php', $atts );
sp_get_template( 'staff-photo.php', $atts );
sp_get_template( 'staff-details.php', $atts );
sp_get_template( 'staff-excerpt.php', $atts );
sp_get_template( 'staff-content.php', $atts );
}
}