WordPress: Adding “Get Shortlink” to Custom Post Types
For some reason, by default, WordPress only includes the “Get Shortlink” button when editing posts; not when editing any kind of custom post type or when editing pages. Honestly, I’m not sure why, since pages and custom post types all use the same basic short URL as standard posts (example.com/?p=[post_id]).
The solution is simple, though. You just need to hook into the get_shortlink filter. Following is a simple function that will help you add the button to all “publicly_queryable” post types in your theme.
Continue Reading »
Because Opera is not an extremely popular browser, most developers probably aren’t aware of one of its greatest features: Opera Show mode.
Unless you’ve been hiding in a bunker all day today, you’ve probably heard that Yahoo! has updated the terms and conditions for using Yahoo! Mail. Apparently Yahoo! will now systematically scan the contents of your mail messages in order to better target the ads they place in your mail. The update apparently includes the following statement:


