Home Forums Front-end Issues Formatting Custom Date in Feed


Formatting Custom Date in Feed

    • swcomm

    • May 8, 2019 at 2:34 am

    Using this method to append a custom date field instead of an image to a custom RSS feed for Woocommerce products:

    RSS FeedAdd ACF image field (URL) to RSS feed

    But how do I format the output date as F j Y? It displays as YYYYMMDD. It’s a DatePicker field – I’ve played around with changing the Return format, but nothing changes.

    Thanks in advance.

  • How are you getting the ACF field? Are you using get_field()?

    • swcomm

    • May 14, 2019 at 1:23 am

    Hi – thanks for the reply. I actually figured it out myself, using some hints I found in this post:

    • swcomm

    • May 14, 2019 at 1:24 am

    Link might be nice, huh 🙂

    This post

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.