开发者 | ipublicis |
---|---|
更新时间 | 2010年4月13日 01:48 |
捐献地址: | 去捐款 |
PHP版本: | 2.8 及以上 |
WordPress版本: | 2.9.2 |
rel="shorturl"
as proposed at http://wiki.snaplog.com/short_url, creating auto-discovery link tag for short url on single post page header.wp-content/plugins/
directory of your WordPress installation (or install it directly from your dashboard) and then activate the Plugin from Plugins page.Maybe, but use it at your own risk. I'll not support anyone using outdated WP (or outdated PHP). At the moment of writing this I’m running this plugin on WordPress 2.9 and PHP 5.x and works fine, and was running without problems on WP 2.8.x and 2.7.x too. If you run anything below WP 2.7 and PHP 5.x, please update for your own good! (and dont ask me for support).
I wanted a (single) simple plugin to notify my the maillists we subscribe about our new posts.
At first only a few little improvements maybe. But if someone suggest a nice feature, and if I have time enough maybe I'll add it. But it's not my priority. I want to keep it simple.
Simply put <?php short_permalink(); ?>
in your theme where you want to show short permalink. You can add the parameter 'linktext', <?php short_permalink('linktext'); ?>
and it will use the short permalink as text for the link too. Or if you have advanced knowledge of WordPress
theme coding, you can get the 'short_url'
post meta directly and showing it as you like.