• I have the latest version of CCTM and the latest version of WP (4.3)running on the default Twenty Twelve theme. Within the last week the custom field that we had created for two different content types is no longer displaying any data on the display screen.

    We had created a hidden field called Modified By (modified_by) and we are displaying the data from that field on the page using this shortcode [+modified_by+].

    The goal of what we are trying to do with this is simply display who last edited the post. This was working and just recently stopped working. I would be guessing with either the update to WP 4.3 or the latest update to the Twenty Twelve theme.

    I am not even sure how to troubleshoot something like this. Any help would be appreciated.

    Regarding the formatting of the Date/Time we also display the created date time using this shortcode:
    [+post_date+]
    and it displays the date and time like this:
    2015-08-30 22:30:22
    we would prefer to display it like this:
    8/30/2015 11:30 pm

    How can we control the formatting of the date and time during the display?

    Thanks,
    Derek

    https://www.ads-software.com/plugins/custom-content-type-manager/

Viewing 1 replies (of 1 total)
  • Thread Starter dfeagin

    (@dfeagin)

    I also figured out through some digging that I can use this shortcode with an output filter and get the date formatted the way that I wanted it.
    [+post_date:datef==n/j/Y g:i a+]

    My only problem now is that it displays like this:
    8/31/2015 5

    Everything after the g is missing.. I have determined it has something to do with the : in the format string. If I remove the colon it displays correctly with the exception of it is missing the colon. I have shut off all plugins except cctm and I have switched themes. In all cases it does not like that colon in there. So just to get by for now I am forced to use a semicolon.

    [+post_date:datef==n/j/Y g:i a+]
    8/31/2015 5;22 pm

    Weird.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Field No Longer Displaying Data & Formatting Date/Time’ is closed to new replies.