WordPress.org

Ready to get started?Download WordPress

Forums

Pods - Custom Content Types and Fields
[resolved] display 'created' and 'modified' date in UI (4 posts)

  1. kelfy
    Member
    Posted 1 year ago #

    Hi,

    Can anyone tell me how to display 'created' and 'modified' date in pods backend UI? I ned my editor to be able to update this. I already added the field name is pod UI array but no luck. Can anyone tell me how please? thanks.

    http://wordpress.org/extend/plugins/pods/

  2. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    Created / Modified date fields are internal to Advanced Content Type pods and do not show up in the forms. What about adding a new field to your Pod for your purposes?

  3. kelfy
    Member
    Posted 1 year ago #

    yup I did. It works.
    May I know how to make the date field picked up today's date automatically if user didn't input the date?

  4. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    In the field settings, go to the Advanced tab, then set the default value to: {@date.Y-m-d h:i:s}

    It takes PHP date format, so you can customize as needed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.