My Permalink Demo
Demo plugin to show how to add a custom permalink to your plugin
Maintenance 22/1003304d since update
Active installs
10
Downloads
1,930
Reviews
1
Age
13.2y
Tagspermalinkrewrite rulesparse_requestgenerate_rewrite_rulesflush_rewrite_rules
Plugin info
Total downloads: 1,930
Active installs: 10
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 2
Last updated: 12/12/2016 (3304 days ago)
Added to WordPress: 11/7/2012 (13 years old)
Minimum WordPress version: 3.4
Tested up to WordPress version: 4.7.31
Minimum PHP version: f
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 3304 days ago • 1 reviews
22/100
Is My Permalink Demo abandoned?
Possibly abandoned (last update 3304 days ago).
Compatibility
Requires WordPress: 3.4
Tested up to: 4.7.31
Requires PHP: f
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
No similar plugins found yet.
Description
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
Installation
- Download the plugin and extract the my-permalink-demo.zip
- Upload the extracted
my-permalink-demofolder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Frequently Asked Questions
No FAQ available
Review feed
No reviews available
Screenshots
No screenshots available
Changelog
1.1.2
- Tested & found compatible with WP 4.7.
1.1.1
- Tested & found compatible with WP 4.6.
1.1.0
- Update plugin for WordPress Coding Standards.
- Tested & found compatible with WP 4.5.
- General housekeeping.
1.0.4
- Tested with WordPress 4.3
1.0.3
- Tested with WordPress 3.9, bumped version number
1.0.2
- Thanks to Paul, the plugin now only flushes the rewrite rules when needed.
1.0.1
- Fixed a bug in my_permalink_url() that gave 404 for blogs in a subdirectory.
1.0.0
- Initial release