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.AttributeDefault valueoptionsDescription
1useridthemeumEnvato UserAdd your Envato User
2marketthemeforestthemeforest
codecanyon
Select your Marketplace
3themegs_envato_theme1gs_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
4cols3(4 columns)6 (2 columns)
4 (3 columns)
3 (4 columns)
Number of column/s to display items. Columns are based on 12 grids Bootstarp, so follow columns value
5referral_userNoneEnvato Ref IDAdd your referral id for affiliate program
6count1050Set number of Envato items to display. Default 10, max 50