plugin-icon

WP Pinterest

제작자: Rahul Arora·
Integrates Pinterest and it's different assets and goodies with your WordPress site.
등급
1/5
버전
1.0
활성화된 설치 항목
100
최근 업데이트일
Jul 2, 2012

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'); ?>
무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 3.4.2
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.