Viewing 7 replies - 1 through 7 (of 7 total)
  • you dont need a custom field for that, just use this plugin:

    http://wordpress.org/extend/plugins/last-modified/

    Thread Starter skinnymuldoon

    (@skinnymuldoon)

    Thank you, but I was after something quick and simple as it is for only one custom field that I need it and didn’t really want a full plugin just for that.

    Maybe I will have to – or maybe there are some other suggestions?

    Thank you,
    SM

    Thread Starter skinnymuldoon

    (@skinnymuldoon)

    Hi,

    I really need to know how to add the date/time modified to a custom field…..is it even possible?

    I have searched and googled…..!

    SM

    try this then: http://codex.wordpress.org/Template_Tags/the_modified_time

    it’s not a custom field, but I really dont think you need one

    Thread Starter skinnymuldoon

    (@skinnymuldoon)

    I tried that, but when that won’t work in a custom field which need to show the time and date when it was updated.
    The custom field will show sea conditions for diving and it needs to show the time updated to make it relevant.
    I may have to find another way of doing it if this isn’t possible…..
    SM

    still not quite clear on what you mean.

    the modified time will get the time the post/page was last modified…

    maybe you can try explaining your question a bit clearer

    Thread Starter skinnymuldoon

    (@skinnymuldoon)

    I have tried but it is not working.

    All that is showing up is the HTML part of <p>Modified: <?php the_modified_time(‘F j, Y’); ?> at <?php the_modified_time(‘g:i a’); ?></p>

    it is on a page, do you think that should make a difference?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Adding date/time stamp to custom fields’ is closed to new replies.