Is there a way to show attachment IDs on the attachment info screen?
-
02-11-2019 - |
Вопрос
I want to use attachment IDs for shortcodes, but if the image is published with a permalink, it's harder to find the ID.
I've found some functions online that can turn the attachment url into its ID, but that's ridiculous if I have to use a function every time I want to use the shortcode in my posts.
Trying to do: [stuff include="1,4,55"]
Instead of: [stuff include="http://www.example.com/wp-content/uploads/etc..."]
Нет правильного решения
Не связан с wordpress.stackexchange