GS Pinterest Portfolio’s shortcode usage
[gs_pinterest]
GS Pinterest Portfolio’s Shortcode attributes Usage
[gs_pinterest user="pinterest" board="breakfast-favorites" count="20" theme="gs_pin_theme5" cols="4"]
Shortcode PHP Usage
<?php echo do_shortcode( '[gs_pinterest]' ); ?>
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"]' ); ?>
No. | Attribute | Default value | options | Description |
---|---|---|---|---|
1 | user | None | Pinterest User | Add your Pinterest User |
2 | board | None | Pinterest Board Name | Add Pinterest Board Name to display pins from specific Board |
3 | count | 10 | 25 | Set number of pins to display. Default 10, max 25 |
4 | theme | gs_pin_theme1 | gs_pin_theme1 gs_pin_theme2 gs_pin_theme3 gs_pin_theme4 gs_pin_theme5 | Select preferred theme to display Pins |
5 | cols | 4 | 3 4 5 6 | Number of column/s to display pins |