Shortcode Usage

GS Coach’s shortcode usage
[gs_coaches theme="gs_coach_grid_1"]
GS Coach’s Shortcode attributes Usage
[gs_coaches num="6" theme="gs_coach_grid_1" cols="6" group="web-development" cats_name="none" desc_limit="100" order="DESC" orderby="date"]
Shortcode PHP Usage
<?php echo do_shortcode( '[gs_coaches theme="gs_coach_grid_1"]' ); ?>

Template Usage – Add the shortcode anywhere you need to display GS Coaches in template files (header.php, front-page.php, etc.)

<?php echo do_shortcode( '[gs_coaches num="6" theme="gs_coach_grid_1" cols="6" group="web-development" cats_name="none" desc_limit="100" order="DESC" orderby="date"]' ); ?>
No.AttributeDefault valueoptionsDescription
1num-1-1 for all or any numberBy default it’ll display all the Coaches but you can control it by num attribute.
2themegs_coach_grid_1gs_coach_grid_1
gs_coach_grid_2
gs_coach_grid_3
gs_coach_circle_1
gs_coach_circle_2
gs_coach_circle_3
gs_coach_circle_4
gs_coach_horizontal_1
gs_coach_horizontal_2
gs_coach_horizontal_3
gs_coach_horizontal_4
gs_coach_horizontal_5
gs_coach_horizontal_6
gs_coach_list_1
gs_coach_list_2
gs_coach_list_3
gs_coach_list_4
gs_coach_card_1
gs_coach_card_2
gs_coach_table_1
gs_coach_table_2
gs_coach_table_3 gs_coach_grey_1 gs_coach_grey_2 gs_coach_slider_1 gs_coach_slider_2 gs_coach_slider_3 gs_coach_popup_1 gs_coach_filter_1
Select preferred theme to display Coaches
3cols3(4 columns)6 (2 Columns)
4 (3 columns)
3 (4 columns)
Number of column/s to display coaches. Columns are based on 12 grids Bootstarp, so follow columns value
4groupallCoach category slug, comma separated.To get your category slug, go to GS Coach -> Coach Group. Here you will find Coach Groups & all the slugs
5cats_nameintitialnoneIf you display only one category’s data then no need to display category names for filtering, passing the none value will hide the filtering section. Applicable for gs_coach_filter_1
6desc_limit100Any NumberSet maximum number of characters in Coach details. Default 100
7orderDESCDESC
ASC
Normally Coaches will display by descending order, latest will show first. But if you wish to display ascending order, oldest at first then pass order="ASC" parameter.
8orderbydateID
title
modified
rand
Use preffered orderby attribute