Shortcode Usage

GS Envato Portfolio’s shortcode usage
[gs_envato theme="gs_envato_theme1"]
GS Envato Portfolio’s Shortcode attributes Usage
[gs_envato userid="themeum" market="themeforest" theme="gs_envato_theme1" cols="3" referral_user="gsplugins" count="10"]
Shortcode PHP Usage
<?php echo do_shortcode( '[gs_envato theme="gs_envato_theme1"]' ); ?>

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

<?php echo do_shortcode( '[gs_envato userid="themeum" market="themeforest" theme="gs_envato_theme1" cols="3" referral_user="gsplugins" count="10"]' ); ?>
No. Attribute Default value options Description
1 userid themeum Envato User Add your Envato User
2 market themeforest themeforest
codecanyon
Select your Marketplace
3 theme gs_envato_theme1 gs_envato_theme1
gs_envato_theme2
gs_envato_theme3
gs_envato_theme4
gs_envato_theme5
gs_envato_theme6
gs_envato_theme7
gs_envato_theme8
gs_envato_theme9
gs_envato_theme10
Select preferred theme to display Items
4 cols 3(4 columns) 6 (2 columns)
4 (3 columns)
3 (4 columns)
Number of column/s to display items. Columns are based on 12 grids Bootstrap, so follow columns value
5 referral_user None Envato Ref ID Add your referral id for affiliate program
6 count 10 50 Set number of Envato items to display. Default 10, max 50
7 orderby newest price
newest
number_of_sell
rating
Set OrderBy Items. Default : Newest
8 sorting descending ascending
descending
Set Sorting Items. Default : Descending