Git Product home page Git Product logo

pinit's People

Contributors

deshack avatar eugeniopetulla avatar psukys avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pinit's Issues

Typo in readme.txt

Place Pinterest Buttons, Pins, Boards and Profiles everywhere in you WordPress using simple shortcodes and a fully customizable widget.

It should be

Place Pinterest Buttons, Pins, Boards and Profiles everywhere in your WordPress using simple shortcodes and a fully customizable widget.

--- 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).

Error installing PHP 5.2 on Travis CI

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

Settings Page Improvements

  • Fix Responsive layouts
  • "Advanced" Tab
  • "WooCommerce" Tab
  • Sidebar link for donate
  • Social icons original source in white color
  • Sidebar Link to @deshack (TODO)
  • SDK Freemius (This could be exploded in a new task and treated later)

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).

Actually this is the admin settings page:
schermata da 2016-02-24 14-15-41

--- 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).

Create README.md

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.

Add new oneImage button

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

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

Pinnable Image Shortcode

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).

Use wp_add_inline_script() in WP 4.5

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 more granularity to pinit button option

  • Single Post (new using method or function to check both parameters)
  • Single Pages (new using method or function to check both parameters)
  • Front Page
  • Tags Archive
  • Categories Archive
  • Author Archive
  • Single Product (WooCommerce)
  • Products Archives (WooCommerce)
  • Shop Page (WooCommerce)

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.

Update "Tested up to" field

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).

Settings help improvements

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.

Button color option doesn't work

Steps to reproduce

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.

Expected behaviour

The Pinit button that appears on hover is either gray or white, according to the selection.

What happens instead

The button is still red.

Considerations

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.

Check for famous sliders

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).

Clash of class in admin.js

This will cause a big usability bug.

To reproduce the issue drag more than one widget in the same widget area and select the first one as Pin. You will be not able to set size value of the second one because your js is hiding the input boxes.
schermata da 2016-02-12 14-00-36
schermata da 2016-02-12 14-00-48

Enforce terms consistency for Pin it/Pinit

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).

Shortcode attributes must be CASE INSENSITIVE

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. :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.