WP Pinterest

Add Pinterest assets like Pin-it button, Follow button and Pinboard to your WordPress site without hassle.
Links: Plugin FAQ and News
[PHP5 is required to avoid any problems with the plugin]
Shortcodes
Pin-it button
– Shortcode : [pinit]
– Parameters : layout // Button Layout
– Usage : [pinit layout=”horizontal|vertical|none”]
Pinterest Follow button
- Shortcode : [pinme]
- Parameters : username, layout // Pinterest Username, Button Layout
- Usage : [pinme username="your_pinterest_username" layout="large-white | medium-white | icon-white | tiny-white | large-red | medium-red | icon-red | tiny-red | icon-text"]
Pinterest Pinboard
- Shortcode : [pinboard]
- Parameters : username, board, pins, width, height, maxheight, description, follow, columns // Pinterest Username, Pinboard Name, Number of Pins to display, Pin width, Pin height, Pin maximum height, Show or hide description, Follow link below the Pinboard, Number of Columns the Pinboard should have
- Usage : [pinboard username="your_pinterest_username" board="your_pinterest_board_name" pins="number_of_pins_to_display" width="width_of_a_pin" height="height_of_a_pin" maxheight="maximum_height_of_a_pin" description="0 | 1" follow="large-white | medium-white | icon-white | tiny-white | large-red | medium-red | icon-red | tiny-red | icon-text | icon-text-red | icon-text-white | none" columns="number_of_columns_for_pinboard"]<h3>PHP functions</h3>
Pin-it button
Function : wp_pinterest_pin_it_button
Parameters : $layout // Button Layout
Usage : `<?php wp_pinterest_pin_it_button('horizontal | vertical | none'); ?>`
Pinterest Follow button
Function : wp_pinterest_follow_button
Parameters : $username, $layout // Pinterest Username, Button Layout
Usage : `<?php wp_pinterest_follow_button('your_pinterest_username', 'large-white | medium-white | icon-white | tiny-white | large-red | medium-red | icon-red | tiny-red'); ?>`
Pinterest Pinboard
Function : wp_pinterest_pinboard
Parameters : $username, $board, $pins, $width, $height, $maxheight, $description, $follow, $columns // Pinterest Username, Pinboard Name, Number of Pins to display, Pin width, Pin height, Pin maximum height, Show or hide description, Follow link below the Pinboard, Number of Columns the Pinboard should have
Usage : `<?php wp_pinterest_pinboard('your_pinterest_username', 'your_pinterest_board_name', 'number_of_pins_to_display', 'width_of_a_pin', 'height_of_a_pin', 'maximum_height_of_a_pin', '0 | 1', 'large-white | medium-white | icon-white | tiny-white | large-red | medium-red | icon-red | tiny-red | icon-text | icon-text-red | icon-text-white | none', 'number_of_columns_for_pinboard'); ?>`
= NOTE: The parameters 'pins', 'width', 'height', 'maxheight', 'columns' should be supplied an integer value only. Parameter 'description', which controls showing/hiding of Pin title on Pinboard, is a binary parameter which should be provided with a value either '0' (false) or '1' (true).
Implement the best practice to use PHP functions in your WordPress Theme by following the below given example:
<?php if(function_exists('wp_pinterest_follow_button')) echo wp_pinterest_follow_button('your_pinterest_username', 'large-white | medium-white | icon-white | tiny-white | large-red | medium-red | icon-red | tiny-red'); ?>
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
- Give a name to your project
- Download the Installer Package
- Install & activate the plugin locally
- Install the suggested dependencies
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.



