• Resolved gb3k

    (@gb3k)


    Hi Everybody, I have installed the WordPress.com Stats plugin in order to use wp.me shorten urls, but nothing regarding this appear in my wp-admin. I have correctly installed the plugin with a valid Key and have checked the “Shortlinks Publish WP.me shortlinks as metadata. This is a free service from WordPress.com.” item in the plugin’s area. But no news about the wp.me shortened links. I should have a button near the permalink box in the admin to get the wp.me url, isnt it?
    Thank for your help

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter gb3k

    (@gb3k)

    I have been researching a bit and I think it has something to do with post types. My posts are custom post types. Any idea?
    Kind regards,

    Thread Starter gb3k

    (@gb3k)

    I think I got it.
    I have changed line 1157:
    return ”;
    by
    $type = ‘p’;
    The issue was that if the post type were not page, post or attachment the script aborts.
    I have tested it and seems to work fine with this change.
    Hopes it helps somebody.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress.com Stats and wp.me’ is closed to new replies.