[wp-meta] [Making WordPress.org] #6464: Enable shortlinks for custom post types for wordpress.org
Making WordPress.org
noreply at wordpress.org
Wed Aug 31 14:55:48 UTC 2022
#6464: Enable shortlinks for custom post types for wordpress.org
--------------------------------+--------------------
Reporter: dansoschin | Owner: (none)
Type: enhancement | Status: new
Priority: low | Milestone:
Component: WordPress.org Site | Keywords:
--------------------------------+--------------------
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://meta.trac.wordpress.org/ticket/6464>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list