Title: WP-Print
Author: Lester Chan
Published: <strong>3 janvāris, 2006</strong>
Last modified: 9 augusts, 2023

---

Meklēt spraudņus

![](https://ps.w.org/wp-print/assets/banner-772x250.jpg?rev=1206764)

Šī spraudnis **nav atjaunināts vairāk kā divus gadus**. Varbūt, tas vairs netiek
uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress
versijām.

![](https://ps.w.org/wp-print/assets/icon.svg?rev=978022)

# WP-Print

 Autors [Lester Chan](https://profiles.wordpress.org/gamerz/)

[Lejupielādēt](https://downloads.wordpress.org/plugin/wp-print.2.58.2.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/wp-print/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/wp-print/#reviews)
 * [Attīstība](https://lv.wordpress.org/plugins/wp-print/#developers)

 [Atbalsts](https://wordpress.org/support/plugin/wp-print/)

## Apraksts

Once installed take the following steps to set it up:

 1. WP-Print settings page is located in WP-Admin -> Settings -> Print
 2. You Need To Re-Generate The Permalink (WP-Admin -> Settings -> Permalinks -> Save
    Changes)
 3. Refer To Usage For Further Instructions

### Usage

 1. Open `wp-content/themes/<YOUR THEME NAME>/index.php`. You should place it in single.
    php, post.php, page.php, etc also if they exist.
 2. Find: `<?php while (have_posts()) : the_post(); ?>`
 3. Add Anywhere Below It: `<?php if(function_exists('wp_print')) { print_link(); }?
    >`

 * The first value is the text for printing post.
 * The second value is the text for printing page.
 * Default: print_link(”, ”)
 * Alternatively, you can set the text in ‘WP-Admin -> Settings -> Print’.
 * If you DO NOT want the print link to appear in every post/page, DO NOT use the
   code above. Just type in **[print_link]** into the selected post/page content
   and it will embed the print link into that post/page only.

### Build Status

### Development

[https://github.com/lesterchan/wp-print](https://github.com/lesterchan/wp-print)

### Translations

[http://dev.wp-plugins.org/browser/wp-print/i18n/](http://dev.wp-plugins.org/browser/wp-print/i18n/)

### Credits

 * Plugin icon by [SimpleIcon](http://www.simpleicon.com) from [Flaticon](http://www.flaticon.com)
 * Icons courtesy of [FamFamFam](http://www.famfamfam.com/)

### Donations

I spent most of my free time creating, updating, maintaining and supporting these
plugins, if you really love my plugins and could spare me a couple of bucks as my
school allowance, I will really appreciate it. If not feel free to use it without
any obligations.

## Ekrānuzņēmumi

 * [[
 * Admin Print Options
 * [[
 * Print Post Link
 * [[
 * Print Page

## BUJ

### How do I add this to my theme?

 1. Open `wp-content/themes/<YOUR THEME NAME>/index.php`
     You may place it in single.
    php, post.php, page.php, etc also.
 2. Find: `<?php while (have_posts()) : the_post(); ?>`
 3. Add Anywhere Below It: `<?php if(function_exists('wp_print')) { print_link(); }?
    >`

Simply add this code inside the loop ### where you want the print link to display:

    ```
    if(function_exists('wp_print')) {
        print_link();
    }
    ```

### If you do not want to print a portion of your post’s content

[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.

### Custom Template

 * WP-Print will load ‘print-css.css’, ‘print-posts.php’ and ‘print-comments.php’
   from your theme’s directory if it exists.
 * If it doesn’t exists, it will just load the respective default file that comes
   with WP-Print.
 * This will allow you to upgrade WP-Print without worrying about overwriting your
   printing styles or templates that you have created.

## Atsauksmes

![](https://secure.gravatar.com/avatar/f442de9912d44f24e96b2d6fd6118d5625249f927be46c0139a7d29350fd177a?
s=60&d=retro&r=g)

### 󠀁[nice & good](https://wordpress.org/support/topic/nice-good-8/)󠁿

 [Abdechakour](https://profiles.wordpress.org/abdechakour/) 14 janvāris, 2021

Its exactly what i search, light and customisable

![](https://secure.gravatar.com/avatar/2da9a16eeccf3c15dcbeef9c3131129156c5f853893e6c7cf3e0b7017868244b?
s=60&d=retro&r=g)

### 󠀁[i love this plugin](https://wordpress.org/support/topic/i-love-this-plugin-357/)󠁿

 [coddy7](https://profiles.wordpress.org/coddy7/) 20 februāris, 2020

love this plugin

![](https://secure.gravatar.com/avatar/9bf5046b67cbdacde6e11ec9ad586e446fb5271885e0d00ad449c642530979f5?
s=60&d=retro&r=g)

### 󠀁[Color printing](https://wordpress.org/support/topic/color-printing/)󠁿

 [barrysklo](https://profiles.wordpress.org/barrysklo/) 28 marts, 2019

WP-Print is a nice plugin, very easy to use. I encounter a problem when printing
your special ‘print webpage’. Your webpage is always printed in black and white 
even the page has colored contents. Any idea? Many thanks!

![](https://secure.gravatar.com/avatar/36812e57454e91ab07ef49608bec19dd04c4e17ddd4113520b7975190806c40c?
s=60&d=retro&r=g)

### 󠀁[Easy and customizable](https://wordpress.org/support/topic/easy-and-customizable-7/)󠁿

 [creativis](https://profiles.wordpress.org/creativis/) 7 februāris, 2019

If you dont need complicated functions and understand some of css, its your plugin.
Love it, thank you.

![](https://secure.gravatar.com/avatar/f5e374911b67f543d0e0fe88346d72056d9885ceb1e17d6ba883ba0caf176355?
s=60&d=retro&r=g)

### 󠀁[Possibly incompatible – seeing 404 instead](https://wordpress.org/support/topic/possibly-incompatible-seeing-404-instead/)󠁿

 [nycynik](https://profiles.wordpress.org/nycynik/) 6 septembris, 2017 1 atbilde

I installed the plugin, then went to the configuration and was able to configure
the plug-in. Tried not installing the PHP on every page as per instructions, and
only adding the shortcode. That process seemed to work fine, the button appears 
and shows the text print. But when I click it, it tries to visit <domain>/<path/
to/post>/post/print Since /print is not a valid page, I assume this is something
the plugin should fix, but instead it shows 404.

![](https://secure.gravatar.com/avatar/79773657b52f8be86cb2cf6361b06bac140ac96daf85b45eee56a27ea077ef03?
s=60&d=retro&r=g)

### 󠀁[Broken](https://wordpress.org/support/topic/broken-557/)󠁿

 [MarkFinW](https://profiles.wordpress.org/markfinw/) 18 jūlijs, 2017

404 instead of printing.

 [ Lasīt 43 atsauksmes ](https://wordpress.org/support/plugin/wp-print/reviews/)

## Autori un izstrādātāji

“WP-Print” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

 *   [ Lester Chan ](https://profiles.wordpress.org/gamerz/)

“WP-Print” ir tulkots lokalizācijās 9. Paldies [tulkotājiem](https://translate.wordpress.org/projects/wp-plugins/wp-print/contributors)
par ieguldījumu.

[Tulkot “WP-Print&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/wp-print)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/wp-print/), apmeklējiet
[ SVN krātuvi ](https://plugins.svn.wordpress.org/wp-print/)vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/wp-print/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/wp-print/?limit=100&mode=stop_on_copy&format=rss).

## Izmaiņu žurnāls

### 2.58.1

 * FIXED: Strip iframe tags as well.

### 2.58

 * NEW: Ability to print thumbnail. Props @MatthieuMota.

### 2.57.2

 * FIXED: Check both parent and child theme

### 2.57.1

 * NEW: Use translate.wordpress.org to translate the plugin
 * FIXED: Unable to update options

### 2.57

 * FIXED: Notices

### 2.56

 * NEW: Updated print HTML code. Props @Luanramos

### 2.55

 * NEW: Bump to 4.1
 * FIXED: get_the_category_list() optional secondary argument
 * FIXED: Replace font with p

### 2.54

 * NEW: Finally there is custom post type support. Props [nimmolo](http://andrewnimmo.org/).
 * NEW: Allow Multisite Network Activate
 * NEW: Uses WordPress uninstall.php file to uninstall the plugin

### 2.53

 * FIXED: Use get_stylesheet_directory() instead of TEMPLATEPATH

### 2.52

 * FIXED: Added nonce to Options. Credits to Charlie Eriksen via Secunia SVCRP.

### 2.51

 * NEW: Support for links that start with “//”
 * FIXED: Unable to load WP-Print on Password Protected posts

### 2.50

 * NEW: Uses jQuery Framework
 * NEW: [donotprint][/donotprint] ShortCode Will Not Be Displayed As Well When Using
   WP-Email (Refer To Usage Tab)
 * NEW: Use _n() Instead Of __ngettext() And _n_noop() Instead Of __ngettext_noop()
 * FIXED: Uses $_SERVER[‘PHP_SELF’] With plugin_basename(**FILE**) Instead Of Just
   $_SERVER[‘REQUEST_URI’]
 * FIXED: Nested ShortCode Issues

## Meta

 *  Versija **2.58.2**
 *  Pēdējo reizi atjaunots: **pirms 3 gadiem**
 *  Aktīvās instalācijas: **9 000+**
 *  WordPress versija ** 4.0 vai jaunāka **
 *  Pārbaudīts līdz: **6.3.8**
 *  Valodas
 * [Dutch](https://nl.wordpress.org/plugins/wp-print/), [English (UK)](https://en-gb.wordpress.org/plugins/wp-print/),
   [English (US)](https://wordpress.org/plugins/wp-print/), [French (France)](https://fr.wordpress.org/plugins/wp-print/),
   [German](https://de.wordpress.org/plugins/wp-print/), [Greek](https://el.wordpress.org/plugins/wp-print/),
   [Hungarian](https://hu.wordpress.org/plugins/wp-print/), [Russian](https://ru.wordpress.org/plugins/wp-print/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/wp-print/), un [Swedish](https://sv.wordpress.org/plugins/wp-print/).
 *  [Tulkojiet savā valodā](https://translate.wordpress.org/projects/wp-plugins/wp-print)
 * Birkas:
 * [print](https://lv.wordpress.org/plugins/tags/print/)[printer](https://lv.wordpress.org/plugins/tags/printer/)
   [wp-print](https://lv.wordpress.org/plugins/tags/wp-print/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/wp-print/advanced/)

## Vērtējumi

 4.4 no 5 zvaigznēm.

 *  [  31 5-star reviews     ](https://wordpress.org/support/plugin/wp-print/reviews/?filter=5)
 *  [  4 4-star reviews     ](https://wordpress.org/support/plugin/wp-print/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/wp-print/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/wp-print/reviews/?filter=2)
 *  [  4 1-star reviews     ](https://wordpress.org/support/plugin/wp-print/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-print/reviews/#new-post)

[Skatīt visas atsauksmes](https://wordpress.org/support/plugin/wp-print/reviews/)

## Līdzdalībnieki

 *   [ Lester Chan ](https://profiles.wordpress.org/gamerz/)

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/wp-print/)

## Ziedojiet

Vai vēlaties atbalstīt šī spraudņa pilnveidošanu?

 [ Ziedojiet šim spraudnim ](http://lesterchan.net/site/donation/)