My Permalink Demo
Demo plugin to show how to add a custom permalink to your plugin
Ratings
Last updated
December 12, 2016
Version
1.1.3
Active installations
10
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
This plugin is available for download to be used on your WordPress self-hosted installation.