Demo plugin to show how to add a custom permalink to your plugin
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 val="ipsum"] shortcode to a page or post.
You can view the plugin source at soderlind.no