Shortcode Usage

GS Pinterest Portfolio’s shortcode usage
[gs_pinterest]
copy
GS Pinterest Portfolio’s Shortcode attributes Usage
[gs_pinterest user="pinterest" board="breakfast-favorites" count="20" theme="gs_pin_theme5" cols="4"]
copy
Shortcode PHP Usage
<?php echo do_shortcode( '[gs_pinterest]' ); ?>
copy

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

<?php echo do_shortcode( '[gs_pinterest user="pinterest" board="breakfast-favorites" count="20" theme="gs_pin_theme5" cols="4"]' ); ?>
copy
No.AttributeDefault valueoptionsDescription
1userNonePinterest UserAdd your Pinterest User
2boardNonePinterest Board NameAdd Pinterest Board Name to display pins from specific Board
3count1025Set number of pins to display. Default 10, max 25
4themegs_pin_theme1gs_pin_theme1
gs_pin_theme2
gs_pin_theme3 gs_pin_theme4 gs_pin_theme5
Select preferred theme to display Pins
5cols43
4
5
6
Number of column/s to display pins