WP Snapshot

WP Snapshot

darrinb

Generates a template tag that allows you to easily display a snapshot of text.
Useful for meta descriptions, post snippets, or your own custom block of text.
Displays a snippet of text without having to use the <–!more–> quicktag.

How do I use it?

It accepts three user-entered parameters or uses its own defaults.

  • Content: Enter your own custom text or leave blank.
  • Word Limit: Enter the number of words you want to display.
  • Trailing Text: Enter the trailing text to indicate the content continues.

Please see the plugin homepage for examples of usage.

1.0

  • added strip_shortcode() to remove shortcode content from the excerpt created
  • added wp_kses() to strip all html
  1. Upload the mish_wp_snapshot folder to the your plugins directory, typically /wp-content/plugins/.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Reviews

0 out of 5 stars

  • Version: 1.0
  • Last updated: 10 years ago
  • Active installations: 10
  • WordPress version: 2.5.1
  • Tested up to: 3.7.41
  • PHP version: false