WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Pin It Button For Images
[resolved] category pages - showing pinit on page 2, archives (4 posts)

  1. redearthdesign
    Member
    Plugin Contributor

    Posted 1 year ago #

    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/

  2. mrsztuczkens
    Member
    Plugin Author

    Posted 1 year ago #

    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!

  3. mrsztuczkens
    Member
    Plugin Author

    Posted 1 year ago #

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

  4. redearthdesign
    Member
    Plugin Contributor

    Posted 1 year ago #

    Works beautifully - thanks!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic