WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Dragons Print-Hint

The plugin prints a hint text

Arbitrary section

Example 1: Hint-Text

<center><b>Achtung</b> - Urheberrechtshinweis! <br>
Da dieses Blog unter einer Creative Commons Lizenz steht, 
stellt das Ausdrucken für Sie kein Problem dar. <br>
Bei Webseiten die nicht unter einer solchen oder ähnlichen Lizenz stehen, 
kann das Ausdrucken zu einer Urheberrechtsverletzung führen.</center>

Example 2: CSS Class/ID hiding

#header, #top, #footer, #bottom, #sidebar,
.commentheader, #commentform

Example 3: Hide some portion of a post / page while printing

Within the post define an area with a userdefined and no more referenced ID. This ID don't have to be defined within any CSS stylesheet. It's just for Dragons Print-Hint.

.. some content of your post
<div id="RemoveOnPrint"> ... here is some content of the post ... </div>
.. some more content of your post

If you define this ID (#RemoveOnPrint) in the "hide css blocks" list (remember: comma separate more then one value) you can see the post with all content but while printing the div tag with id="RemoveOnPrint" ist hidden.

Example 4: Using shortcodes

If there are areas within your post to explicitly hide/show on screen/print output, you can use the shortcode

[PrintHint show_on="screen|print"] .... [/PrintHint].

Show graphical link only online, on printouts show the URL instead.

Here is my post text [PrintHint show_on="screen"]<a href="some url"><img src="myImage" /></a>[/PrintHint] [PrintHint show_on="print"]http://myUrl[/PrintHint]<br> and here is the rest of the text.

The Parameter show_on can be used to define the apperance of the content between the shortcode tags.
If you define show_on="screen" the content part will only be shown an screen outputs. Otherwise, the show_on="print" parameter will show the hint only on printouts.

Remark: If you dont't use the 'show_on' parameter or forget to close the shortcode tag, there will be no output!

= Example 5: Using your own border style for print-hint Just enter the border attributes (see http://www.w3schools.com/css/pr_border.asp for usage example) without the semicolon. e.g. 5px solid red

Requires: 2.7.1 or higher
Compatible up to: 2.8.4
Last Updated: 2009-8-28
Downloads: 1,050

Ratings

4 stars
4.5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1