• Resolved kaykills

    (@kaykills)


    Hi,

    I am looking for some help in overriding the “authors” metadata field with a custom acf field (which is called ‘display_author’.

    I’ve pasted in the part of the JSON file that contains the field I want to modify. Looking for any kind of help on this or direction to an example.

    "metadata": {
            "excerpt": "'Tis the season of sweeping floors and laundering linens!",
            "thumbnailURL": "https:\/\/xxxx.com\/wp-content\/uploads\/2022\/04\/feature-18.jpg",
            "authors": ["Michael K"],
            "dateCreated": "2022-04-20T15:30:19+00:00",
            "dateModified": "2022-04-20T18:53:17+00:00",
            "datePublished": "2022-04-20T15:30:19+00:00",
            "canonicalURL": "https:\/\/xxxx.com\/gallery\/spring-cleaning-guide\/",
            "generatorIdentifier": "publish-to-apple-news",
            "generatorName": "Publish to Apple News",
            "generatorVersion": "2.3.2"
        },

    Thank you in advance,
    Michael

    • This topic was modified 2 years, 7 months ago by kaykills.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Replacing “authors” metadata with a custom field’ is closed to new replies.