shortcode with pdf file id
-
With the gutenberg editor, a shortcode with the url of the pdf file is generated when inserted. When inserting an external url it is necessary, but when inserting a file from the media library it is more logical to use the file id and get the actual url at the moment of displaying.
I have a site with a lot of pdf files. I am going to migrate these files to S3. I have to write a program to change the sortcode or change it manually, which is not very convenient.
The plugin has no integration with wordpress media library!
If the url was derived from the id of the media library file, there would be no problem.Translated with DeepL.com (free version)
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.