WordPress plugin intelligence profile

Dragons Print-Hint

The plugin prints a hint text

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 2.8
Current version0.4.1.1
WordPress coverageTested up to WordPress 2.8
Minimum stackWP 2.7.1 · PHP —
Directory statusactive
Last directory update28 Aug 200917y ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Dragons Print-Hint version 0.4.1.1 as active, updated 17y ago and tested up to WordPress 2.8.

Overview

About this plugin

There are several reasons to print some hints on your posts. These hints will never been seen on the screen, but you want it to show on paper.

Feature-List:

  • Definition of a hint text, only appearing on printouts.

You can use any html tag that can be placed within <p>... </p> to format your hints.

  • Comfortable definition of hint text via admin settings panel.
  • Hiding user defined areas of posts / pages – see Example 3 in Arbitrary section
  • ShortTag [PrintHint] for free definition of post-blocks show only on screen/print output
  • Definition of CSS classes (.classname) in a comma separated list. These classes don’t appear on printouts.
  • Definition of CSS IDs (#idname) in a comma separated list. These IDs don’t appear on printouts.
  • Style definition for printout border frame
  • Multilanguage Support: English, Deutsch, Russian already implemented

The plugin hooks into the_content filter. The the_excerpt filter hook is used to remove the hint from displaying on search result page.

*Scenarios*

You want to show a text only online?

>

[PrintHint show_on=”screen”] … appears only on screen … [/PrintHint]

You want to show a text only on printout?

>

[PrintHint show_on=”print”] … appears only on printouts … [/PrintHint]

*Hint*

Beware of the closing tag [/PrintHint] as well as the parameter show_on, they are REQUIRED!

If you don’t apply the parameter or give them a wrong argument, the block content will not be displayed, anyway.

css

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. </center>

Example 2: CSS Class/ID hiding

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

asp for usage example)

without the semicolon. g. 5px solid red

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • comment
  • copyright
  • hint
  • license
  • print
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 2.8

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 2.8.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to2.8
Minimum requirementsWordPress 2.7.1 · PHP not listed
Update activity28 Aug 200917y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.