Integrates Pinterest and it's different assets and goodies with your WordPress site.
Betyg
1
Senast uppdaterat
July 2, 2012
Version
1.0
Aktiva installationer
100

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'); ?>
Gratispå Creator-paket
Aktiva installationer
100
Testat upp till
3.4.2
Det här tillägget är tillgängligt för nedladdning och kan användas på din WordPress-installation som drivs på egen server.