We'll create fresh WordPress site with My Permalink Demo installed. You have 20 minutes to test the plugin after that site we'll be deleted.
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