[wp-trac] [WordPress Trac] #56447: Enable shortlinks for custom post types for wordpress.org

WordPress Trac noreply at wordpress.org
Fri Aug 26 20:42:16 UTC 2022


#56447: Enable shortlinks for custom post types for wordpress.org
--------------------------------+-----------------------------
 Reporter:  dansoschin          |      Owner:  (none)
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  WordPress.org Site  |    Version:
 Severity:  minor               |   Keywords:
  Focuses:                      |
--------------------------------+-----------------------------
 WordPress.org uses custom post types for assets such as "handbook pages".
 The site has the Jetpack plugin which includes a URL shortener for wp.me.
 However, the URL shortener only works for default post types (e.g. posts).
 It does not work for handbook pages, etc.

 The code for enabling this feature already exists and is published here:
 https://jetpack.com/support/wp-me-shortlinks/#cpt

 Thanks to @eidolonight for finding the above resource.

 The marketing team recently needed a wp.me shortlink for a long URL for
 inclusion in a Twitter bio which has a strict character limit (and thus
 could not accommodate the long URL.) Having a shortened and branded
 (wp.me) URL would be ideal.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56447>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list