Support » Plugin: Print Friendly and PDF Button » Exclude PF from certain categories

  • Resolved the_owl

    (@the_owl)


    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 ?
    thanks
    here is a link to a post with a category I want to exclude http://bit.ly/X5xvwk

    http://wordpress.org/extend/plugins/printfriendly/

Viewing 1 replies (of 1 total)
  • Plugin Author Print & PDF by PrintFriendly

    (@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 ‘Exclude PF from certain categories’ is closed to new replies.