• Resolved livelydesigns

    (@livelydesigns)


    We have been using the plugins on a different WooThemes:

    Sociable and WP-Print with great results and would like to continue using both.

    Some of our clients are requesting that the WP-Print not print the Sociable icons and links on the printable pages.

    We are looking at the directions from https://lesterchan.net/wordpress/readme/wp-print.html

    NOTE:
    * If you do not want to print a portion of your post’s content, do the following:

    [donotprint]Text within this tag will not be displayed when printing[/donotprint]

    The text within [donotprint][/donotprint] will not be displayed when you are viewing a printer friendly version of a post or page.

    However, it will still be displayed as normal on a normal post or page view.

    Do note that if you are using WP-Email, any text within [donotprint][/donotprint] will not be emailed as well.
    * WP-Print will load ‘print-css.css’, ‘print-posts.php’ and ‘print-comments.php’ from your theme’s directory if it exists.
    o If it doesn’t exists, it will just load the respective defalult file that comes with WP-Print.
    o This will allow you to upgrade WP-Print without worrying about overwriting your printing styles or templates that you have created.

    What we are trying to figure out is where we would insert the WP-Print code:

    [donotprint][/donotprint]

    To exclude printing the Sociable code?

    Share and Enjoy:

    * Print [4]
    * Digg [5]
    * Sphinn [6]
    * del.icio.us [7]
    * Facebook [8]
    * Mixx [9]
    * Google Bookmarks [10]
    * Blogplay [11]

    Article printed from Client Web Site: https://clientwebste.com

    URL to article: https://clientwebste.com/test/

    URLs in this post:

    [1] Image: etc

    [2] Image: etc

    [3] Image: etc

    [4] Image: etc

    [5] Image: etc

    [6] Image: etc

    [7] Image: etc

    [8] Image: etc

    [9] Image: etc

    [10] Image: etc

    [11] Image: https://blogplay.com

Viewing 1 replies (of 1 total)
  • Thread Starter livelydesigns

    (@livelydesigns)

    This is from the Author of WP-Print and has resolved this issue.

    Re: Conflict with Sociable Plugin
    ? Reply #3 on: 18 December 2006, 18:42 ?

    * Reply with quoteQuote

    add this:
    Code: [Select]

    remove_filter('the_content', 'sociable_display_hook');
       remove_filter('the_excerpt', 'sociable_display_hook');After

    Code: [Select]

    ### Actions
    add_action('init', 'print_content');in wp-print.php

    Thanks to all and I hope it helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin(s): Sociable & WP-Print’ is closed to new replies.