Support » Plugins and Hacks » Print Friendly and PDF Button » [Resolved] Exclude PF from certain categories

[Resolved] Exclude PF from certain categories

  • I am trying to exclude (automatically) PF icon from certain categories.
    I see the new version you can now choose PF for Categories, but I dont see where I can choose those categories. Moving forward, I would like to not have to use the shortcode on new posts. is it possible to add !in_category (array (101, 102, 103)) to PF ?
    here is a link to a post with a category I want to exclude http://bit.ly/X5xvwk


Viewing 1 replies (of 1 total)
  • Plugin Author printfriendly


    In the latest version of our plugin (3.1.7) you can add that code to the line 284 of pf.php. The result should be something like:

    || (is_category() && isset($this->options['show_on_categories']) && !in_category (array (101, 102, 103)) )

    Please note that on each subsequent update you’ll have to change that line all over again until we support that feature from the plugin settings.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Exclude PF from certain categories’ is closed to new replies.
Skip to toolbar