WordPress plugin intelligence profile

Priority Shortcodes

Processes specific shortcodes before wpautop() and do_shortcode()

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.5
Current version2.0.2
WordPress coverageTested up to WordPress 6.5
Minimum stackWP 2.5.0 · PHP —
Directory statusactive
Last directory update15 Apr 20242y ago
Active installations10Adoption metric — not a quality score
WordPress.org rating1.0 / 5 from 1 ratings
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 Priority Shortcodes version 2.0.2 as active, updated 2y ago and tested up to WordPress 6.5.

Overview

About this plugin

Intended for use with the Classic Editor plugin.

Ever get annoyed or frustrated by the way TinyMCE+wpautop+do_shortcode wreak havoc on your shortcodes, wrapping <p> s around <div> s, leaving orphan </p> s, and all sorts of craziness? This plugin allows you to specify shortcodes to be processed before those other actions, generating the clean code you expected.

Priority Shortcodes works by adding an action to the_content and widget_text hooks with a higher priority than wpautop and do_shortcode. The result is that those other actions run your shortcode’s final output, rather than trying to guess if it should be wrapped in <p> tags, etc.

The Codex says:

>

wpautop recognizes shortcode syntax and will attempt not to wrap p or br tags around shortcodes that stand alone on a line by themselves. Shortcodes intended for use in this manner should ensure that the output is wrapped in an appropriate block tag such as <p> or <div>.

But sometimes shortcodes stand on their own on a line, wanting desperately to be wrapped in a paragraph tag, and sometimes they don’t. Like a shortcode that generates a <span> tag with some classes. )

Usage

” at the start. [/my-shortcode].

Gutenberg

Users of the new WordPress editor, “Gutenberg”, will probably not use Priority Shortcodes within the new editor, but the plugin continues to work in the Classic Editor.

WordPress.org metadata

Plugin tags

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

  • classic editor
  • shortcodes
  • tinymce
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.5

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

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.5
Minimum requirementsWordPress 2.5.0 · PHP not listed
Update activity15 Apr 20242y 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.