Support » Plugin: Pinit: Pinterest for WordPress » Undesired pin it button

  • Resolved capabomba

    (@capabomba)


    Ciao ragazzi,
    I just noticed that with the latest update, the plugin automatically add a “pin it” button on every image, even sliders and post’s featured images.

    I would like to change that, as I don’t really like it and it risks to drive clicks away.

    Thanks!

    https://wordpress.org/plugins/pinit/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mattia Migliorini

    (@deshack)

    Hi,
    Pinit is currently missing a “General Options” page, so it is not yet possible to disable that feature in a pretty way.

    You can still override that behavior though. Just place the following code in the functions.php of your theme or in a plugin:

    remove_action( 'wp_footer', 'pit_pinit_js', 9999 );
    function my_pit_pinit_js() {
    	echo '<script async defer type="text/javascript" async src="//assets.pinterest.com/js/pinit.js"></script>' . "\n";
    }
    add_action( 'wp_footer', 'my_pit_pinit_js', 9999 );

    Keep an eye on the changelog as we will soon add an options page!

    Plugin Author iGenius

    (@igenius)

    I’ll take care of this task soon as possibile, I swear! 🙂

    I have to build an option panel just for this purpose so I’m looking for other features before releasing it but I’m almost done so… keep an eye on your dashboard.

    Sweet!
    It works like a charm for now. Waiting for the option panel then. Great job as usual.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undesired pin it button’ is closed to new replies.