WordPress.org

Ready to get started?Download WordPress

Forums

WP-Print Version 2.0 (6 posts)

  1. Lester Chan
    Member
    Posted 8 years ago #

    Hi guys,

    I have upgraded my WP-Print to version 2.0. I need some of you guys to help me test for bugs/typos.

    // Version 2.0 (10-11-2005)
    - ADDED: Print Out A Summary Of URLS In The Post At The Bottom Of The Page

    Please get back to me if there is any error through my email/forum/this thread.

    Download: http://www.lesterchan.net/others/downloads.php?id=12

    Thanks guys!

  2. GadgetGuru
    Member
    Posted 8 years ago #

    Hi Lester,

    I already had the last version of WP-Print running on my site, so I didn't have to add the print code or change my .htaccess. It does exactly what you said it does :)

    I renamed the old version wp-print.old, extracted the new WP-Print to the root folder, refreshed my site, and clicked the print link. All of the inline links in the article displayed in an ordered list at the bottom of the print page.

    One question, though. Is it possible to include a function that will strip out images and <!--Adsense--> code? That would make this absolutely PERFECT!! Not that it isn't already awesome, but you know what I mean.

    Thanks again,

    GG

  3. Lester Chan
    Member
    Posted 8 years ago #

    Hi,

    Thanks for the compliment =)

    strip out images? but some people want the images. LOL

    try this instead

    Replace Line 51 with
    echo strip_tags($content, '<img>');

  4. GadgetGuru
    Member
    Posted 8 years ago #

    Thank you for the quick response!

    Unfortunately, replacing line 51 with the code you provided didn't strip the images :( so i tried this:

    echo strip_tags($content, '<img');

    And I'll be damned...it worked!! It also stripped out the Adsense ads.

    Thanks for your help!

    GG

  5. Edlef
    Member
    Posted 8 years ago #

    Hi GamerZ,
    installed and working great, as expected 8-)
    greetings from Lueneburg

  6. Lester Chan
    Member
    Posted 8 years ago #

    GadgetGuru: Ops, no prob.
    Edlef: Thanks for the compliment =)

Topic Closed

This topic has been closed to new replies.

About this Topic