ཞིབ་བརྗོད།
This plugin adds your favorite pins much like the pinboards on Pinterest. It uses the original thumbnails from Pinterest itself. The plugin aims to have the same look and feel as the pinboords on Pinterest. To improve your site’s performance, the pins are cached every 15 minutes.
The Pinterest Pinboard can be used as a widget in your sidebar or on any page using the shortcode.
Get Involved
- Development and pull requests on GitHub
- Bug reports and suggestions on WordPress.org forums
གཏུབ་རེིས།
སྒྲིག་འཇུག
- Upload the folder pinterest-pinboard-widget and its contents to the /wp-content/plugins/ directory or use the wordpress plugin installer
- Activate the plugin through the ‘Plugins’ menu in WordPress
- A new “Pinterest Pinboard” widget will be available under Appearance > Widgets.
- Add it to your sidebar and edit settings, or use the following shortcode on your page to display the pins
[pinterest_pinboard username="pinterest"]
.
FAQ
- Installation Instructions
-
- Upload the folder pinterest-pinboard-widget and its contents to the /wp-content/plugins/ directory or use the wordpress plugin installer
- Activate the plugin through the ‘Plugins’ menu in WordPress
- A new “Pinterest Pinboard” widget will be available under Appearance > Widgets.
- Add it to your sidebar and edit settings, or use the following shortcode on your page to display the pins
[pinterest_pinboard username="pinterest"]
.
- My latest pins are not showing on my website
-
The Pinterest Pinboard Widget caches the RSS feed from Pinterest itself every 15 minutes. This improves loading time of your website, but may show a new pin with a slight delay. A just added pin also takes some time to show up in Pinterest’s RSS feed.
- Can I disable caching?
-
In the current version caching is always enabled (15 minutes). Future versions of the plugin will allow you to set the caching interval or disable caching completely.
- Can I add a Follow Me button?
-
The current version show a ‘more pins’ link only. Future versions of the plugin will have more choices of buttons provided by Pinterest.
- I want to add a Pinboard to a page. Is this possible?
-
Yes, since version 1.0.5 the plugin support a shortcode
pinterest_pinboard
. The following argument can be supplied:- username: The pinterest username to retrieve the pins for
- rows: Nr. of rows of pins to display
- cols: Nr. of columns of pins to display
- new_window: Either 0 (open url in same window) or 1 (open url in new window)
Some examples of the shortcode uses are below. Retrieve 9 pins for user pinterest:
[pinterest_pinboard username="pinterest" rows=3 cols=3]
Retrieve 30 pins for user pinterest and open links in a new window:
[pinterest_pinboard username="pinterest" rows=3 cols=10 new_window=1]
གདེང་འཇོག
བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།
“Pinterest Pinboard Widget” is open source software. The following people have contributed to this plugin.
བྱས་རྗེས་འཇོག་མཁན།ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “Pinterest Pinboard Widget” ཡིག་སྒྱུར་བྱོས།
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
དག་བཅོས་ཉིན་ཐོ།
1.0.7
- Fixed wrong fetch url (caused: Unable to load Pinterest pins for)
1.0.6
- Fix broken pinboard layout.
1.0.5
- Enable shortcode support.
- Use protocol relative urls for pins to solve issues with https.
1.0.4
- Fix PHP notice, see: https://wordpress.org/support/topic/use-of-undefined-constant-1
1.0.3
- Add setting to allow links to be opened in a new window
- Set CSS for pinboard widget images to display inline, regardless of the current theme.
- Move inline CSS to css file
- Remove unittest from the release
- Minor code fixes
- Minor CSS fixes
1.0.2
- When server runs https:// also retrieve the pins from Pinterest that way
- Fixed a bug when pin description contained a quote (“)
- Replaced inline php with echo
1.0.1
- CSS enhancements
- Output HTML comment line for troubleshooting purposes
1.0.0
- Initial version