WordPress.org

Support

Support » Plugins and Hacks » [Resolved] category pages – showing pinit on page 2, archives

[Resolved] category pages – showing pinit on page 2, archives

  • Hello,
    I found that on page 2, etc. of categories, the pinit image stopped showing. To solve for this:

    /jquery-pin-it-button-for-images.php

    line 144

    else if ( is_category() )
    		return $advanced_settings['on_category'] == "1";

    change to:

    else if ( is_category() || is_archive() )
    		return $advanced_settings['on_category'] == "1";

    Possible for this edit to be included in future versions? Or if all types could be accounted for in checkboxes?

    Thanks so much for all your wonderful work!

    http://wordpress.org/extend/plugins/jquery-pin-it-button-for-images/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcin Skrzypiec

    @mrsztuczkens

    Hi,

    thanks for your input. I will add the

    is_archive()

    check to the categories setting in the next version of the plugin (coming in a few days), just like you’ve suggested. I think it’s the better solution than adding more checkboxes with different types, because it might get confusing to users which pages are considered “category” and which ones are “archive”. Thanks for your help and thanks for the donation!

    Plugin Author Marcin Skrzypiec

    @mrsztuczkens

    Hi again, the change you mentioned is added in the new version of the plugin. Please check it out and if it works as it should, please mark the topic as resolved 🙂

    Plugin Contributor redearthdesign

    @redearthdesign

    Works beautifully – thanks!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] category pages – showing pinit on page 2, archives’ is closed to new replies.