Demo plugin to show how to add a custom permalink to your plugin
As of April 2026, My Permalink Demo is a WordPress permalink plugin with 10 active installations and a 5/5 rating from 1 reviews. It has been downloaded 2.0K+ times in total. Requires WordPress 3.4+ and PHP false+. Available on WordPress.org since 2012. Last updated 9 years ago — may have compatibility concerns. Top alternative: Custom Post Type Permalinks.
While working on my Read Offline plugin, I wanted to implement permalinks. After intensive googling and reading the WordPress source I thought I’d share my findings.
This commented plugin demonstrates how to implement a custom permalink for your plugin. To test, add the [mypermalink] or [mypermalink val="ipsum"] shortcode to a page or post.
You can view the plugin source at soderlind.no
| WordPress | 3.4+ requiredTested up to 4.7.33 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.