Copy PDF Title into sortable field
-
Hi on this page https://downtonparishcouncil.gov.uk/main-council/policies there’s a set PDFs that are currently sorted by the WP standard Caption field which has been manually updated. The calling shortcode is
[mla_gallery mla_markup=gov-policy post_parent=all post_mime_type=application/pdf category_name=pub-doc tag=”govpol” size=icon mla_image_attributes=’width=”16″ height=”16″ ‘ link=title orderby=”caption ASC”] with the PDF title, subject (a text date field) displayed in the mla_markup=gov-policy.I am using the Caption field as all other uses of the MLA plug in use the WP Title field (which by default is set to be a copy of the filename which has a specific format yyyy-mm-dd-ctee-etc) to sort by date yyyy-mm-dd.
So what I need to do is copy the PDF title into the Caption field. I have updated the Standard field mapping section with columns set as
Field title: Caption,
EXIF/Template: template:([+pdf:Title+]),
Priority:
EXIF, Existing Text: Replace
as per the “IPTC/EXIF Mapping for PDF Documents” in the documentation. But nothing gets updated when I click map all attachments, standard fields now button
- The topic ‘Copy PDF Title into sortable field’ is closed to new replies.