[Plugin: SEO Ultimate] Support for shortlink
-
Hi!
This is a great plugin!
I am wondering if you would consider support for the wp_get_shortlink() function in the linkbox inserter and the canonical tags?
For instance, in line 72 of linkbox.php I have changed it from:
array(intval($id), su_esc_attr(get_permalink($id)), su_esc_attr(get_the_title($id))),
to:
array(intval($id), wp_get_shortlink($id), su_esc_attr(get_the_title($id))),$linkbox);
which is not a very good way to do it for the general public. One should test for the presence of a shortlink and then use it if it exists.
I suppose if one want to get real fancy, it could be used as an option in each respective module, or perhaps instead of {url} in the linkbox inserter perhaps {shorturl}.
Many thanks for your time and devotion.
Regards,
Brian Brown, Ph.D.
“Geeking for 50 years!”
http://www.brianbrown.net/
http://www.dailybrian.com/
The topic ‘[Plugin: SEO Ultimate] Support for shortlink’ is closed to new replies.