deshack / pinit Goto Github PK
View Code? Open in Web Editor NEWHandy plugin that adds Pinterest Follow Button, Pin Widget, Profile Widget and Board Widget to your WordPress site.
License: GNU General Public License v2.0
Handy plugin that adds Pinterest Follow Button, Pin Widget, Profile Widget and Board Widget to your WordPress site.
License: GNU General Public License v2.0
Place Pinterest Buttons, Pins, Boards and Profiles everywhere in you WordPress using simple shortcodes and a fully customizable widget.
It should be
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/39171779-typo-in-readme-txt?utm_campaign=plugin&utm_content=tracker%2F5008995&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5008995&utm_medium=issues&utm_source=github).Place Pinterest Buttons, Pins, Boards and Profiles everywhere in your WordPress using simple shortcodes and a fully customizable widget.
Now that GlotPress is available, we should point translators to that instead of the language files bundled with the plugin.
See Build 1.1
$ phpenv global 5.2 2>/dev/null
5.2 is not pre-installed; installing
0.21sbzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
0.00s
0.01s$ phpenv global 5.2
rbenv: version `5.2' not installed
Languages to update:
Is it good for you if I code this two buttons into shortcode?
Would be a good idea maybe to make the follow button as a widget as well?
Improve readme.txt
adding screenshots, improving the description, etc.
I think we can start improving the settings page integrating a "Advanced" tab where put a disabling option for widgets (if you don't use it don't load it at all!) and another one for shortcodes (same story).
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31449744-settings-page-improvements?utm_campaign=plugin&utm_content=tracker%2F5008995&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5008995&utm_medium=issues&utm_source=github).See Enea's comment: https://plus.google.com/u/0/+MattiaMigliorini/posts/Yf1uXD7swAZ
At least in the demo website, we need some info on how to contribute with things like translations.
See #5
Strict Standards: Declaration of WP_Plugins_List_Table::bulk_actions()
should be compatible with WP_List_Table::bulk_actions($which = '')
in /home/deshack/test/wp-admin/includes/class-wp-plugins-list-table.php on line 0
readme.txt
is required by WordPress, but not rendered by GitHub. In order to improve the plugin presentation on GitHub too, we should create a README.md.
It seems like Pinterest made some improvements to the widgets recently, and introduced a new button with counter.
It's really easy to introduce, but maybe we should think about how and where to use it. We could, for example, expose a shortcode for the user to consume, but also something that hooks automatically into the page, maybe below posts, to share the featured image with the post's URL.
@EugenioPetulla this is up to you.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/39215270-add-new-oneimage-button?utm_campaign=plugin&utm_content=tracker%2F5008995&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5008995&utm_medium=issues&utm_source=github).PHP Notice: Undefined index: title
in /home/deshack/test/wp-content/plugins/pinit/pinit.php on line 154
PHP Notice: Undefined index: purl
in /home/deshack/test/wp-content/plugins/pinit/pinit.php on line 155
PHP Notice: Undefined index: imgWidth
in **/home/deshack/test/wp-content/plugins/pinit/pinit.php* on line 156
PHP Notice: Undefined index: boxHeight
in /home/deshack/test/wp-content/plugins/pinit/pinit.php on line 157
PHP Notice: Undefined index: boxWidth
in /home/deshack/test/wp-content/plugins/pinit/pinit.php on line 158
PHP Notice: Undefined index: select
in /home/deshack/test/wp-content/plugins/pinit/pinit.php on line 159
Starting from this shortcode we can create a button for tinyMCE wysiwyg interface.
Do we need a feature like that?
This is a starting discussion point so... let's go! :)
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31449296-pinnable-image-shortcode?utm_campaign=plugin&utm_content=tracker%2F5008995&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5008995&utm_medium=issues&utm_source=github).WordPress 4.5 (Beta 1 to be precise) introduces wp_add_inline_script()
for including inline JavaScript just like wp_add_inline_style()
works for CSS. See the release notes.
wp_add_inline_script()
takes dependencies into account (not really useful in our case though) and also adds the ability to filter the code, so that something like what suggested to capabomba would be accomplished by filtering the inline script and not removing the action and adding a new one.
Add an option for pinit button into archives, frontpage, blogpage, category pages and tag pages.
Maybe the WooCommerce option for products pages could be enabled only if woo is active.
I tested it on WordPress 4.6 and it works like a charm.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37480410-update-tested-up-to-field?utm_campaign=plugin&utm_content=tracker%2F5008995&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5008995&utm_medium=issues&utm_source=github).s/activate/activated:
This feature will be activate on EVERY image of your website.
s/post/posts and s/could/can:
Activate Pinit buttons in sigle post only (This could be combined with pages)
s/could/can:
Activate Pinit buttons in sigle pages only (This could be combined with posts)
Also, I would remove the only from the last two. only implies that you cannot have both settings active at the same time, but what's written between brackets says the opposite. It's kind of confusing to me.
Go to the Pinit settings page (/wp-admin/admin.php?page=pinit
), check the Insert Pinit Button on hover, and change the Button Color setting to either Grey or White. Leave the Round Button setting unchecked.
Go to the frontend, reload the page, and hover over an image.
The Pinit button that appears on hover is either gray or white, according to the selection.
The button is still red.
Looking at the Pinterest widget builder there is no evidence of this option. Maybe they removed it recently. We should remove it from our plugin too.
Add a check for most popular slider plugins and disable the pin button function.
This could be achieved easily but we have to find a list of the most popular slider and/or carousel plugins.
Anyone want help? @deshack :P
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31466466-check-for-famous-sliders?utm_campaign=plugin&utm_content=tracker%2F5008995&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5008995&utm_medium=issues&utm_source=github).New pinterest widgets allows us to choose the size (small, medium or large) for pinned image according to their builder: https://developers.pinterest.com/tools/widget-builder/?type=pin&size=large
As a rule of thumbs, Pinit is the plugin name, whereas Pin it is the name of the Pinterest Pin it button.
In the readme we found something like this:
<p>Pinit Button for Japanese Language</p>
Here Pin it should be used instead of Pinit.
I'll take care of looking for all the occurrences of both words and ensure they're consistent throughout the whole project.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/39215149-enforce-terms-consistency-for-pin-it-pinit?utm_campaign=plugin&utm_content=tracker%2F5008995&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5008995&utm_medium=issues&utm_source=github).Change name to vars of Profile and Board shortcodes in order to reflects the guidelines of WordPress shortcode.
I ran a lot of unit test and sometimes the atts of this two shortcodes do not render as well beacause of this issue.
Now => imgWidth, boxWidth and boxHeight
Future => imgwidth, boxwidth, and boxheight
I love CamelCase, it's my favourite notation but WP it's not confident with so we have to remove it because can cause a lot of troubles. :)
Stefano Agnelli on Wordpress Italy+ was in search of a way of automatically post new posts to Pinterest.
Apparently this is possible, so why not?
@EugenioPetulla may we discuss about that?
I'll try to ask for this!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.