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

Screenshots

    Categories

    Get New Themes & Resources