Evan Mattson
Forum Replies Created
-
Forum: Plugins
In reply to: [Last Modified Timestamp] Suggest plain text output without HTML tagsHello and thanks for the kind words!
This is a good idea. Can you elaborate on how you are using it? (shortcode or template tag?)
Forum: Plugins
In reply to: [Last Modified Timestamp] Reformatting WordPress Admin Table TimeThe timestamp is broken into 3 components: date format (datef), time format (timef), and the separator (sep).
Here it looks like you’re trying to override the whole format with a new date string but you’re only changing the time format. By default, it displays
%date% %sep% %time%
Your filter works but you would want to change it to modify each component like so:
$d['contexts']['messages']['datef'] = 'm/j/Y'; $d['contexts']['messages']['timef'] = 'g:ia'; $d['contexts']['messages']['sep'] = 'at';
Forum: Plugins
In reply to: [Last Modified Timestamp] Remove Last Update Title from Posts Main PageHi there. The added column can be hidden just like you would normally using the Screen Options tab at the top: https://ibb.co/iiNpyV
Simply uncheck the box for Last Modified.
Forum: Reviews
In reply to: [Last Modified Timestamp] Essential for any blogWow, thanks for the kind words! Great to hear it’s so useful for you.
Thank you!
Forum: Plugins
In reply to: [Last Modified Timestamp] Feature Request: Add Username of Last ChangeThanks for the vote. I do plan on adding support for the modified author, it’s just a matter of when ?? Every reminder from users like you helps though!
Forum: Plugins
In reply to: [Last Modified Timestamp] Please suggest meThank you Chennakumar,
I’m not quite sure what you’re asking. Is the custom field something you want to save in the database or just for display somewhere?
Forum: Plugins
In reply to: [Last Modified Timestamp] How to change date format using shortcode?Thanks @wswp2, I will add an example under the FAQ with the instructions.
Cheers ??
Forum: Reviews
In reply to: [Last Modified Timestamp] Does exactly what it saysThank you for your kind review ??
Forum: Plugins
In reply to: [Last Modified Timestamp] How can i use shortcode in custom fieldMarking this resolved for now.
Forum: Plugins
In reply to: [Last Modified Timestamp] Date and Time NOT CORRECTMarking this as resolved after no response.
Forum: Plugins
In reply to: [Last Modified Timestamp] Display only month and yearPlease see How to use the [last-modified] shortcode? in the FAQ.
Cheers
Sorry, this plugin is only concerned with displaying the modified date/time. Search engines may be pulling this information from some
<meta>
tags from your site’s<head>
rather than what is showing on the page. I can’t offer you much help in this regard though as it is really outside the scope of the plugin.Cheers
Forum: Reviews
In reply to: [Last Modified Timestamp] Works (almost) as intendedHi there. I definitely considered that when writing the plugin, however I wanted the added items to blend seamlessly with WP Admin which does not use a single date format in all contexts. In each context, the date format is matched with the one used by core. Are you perhaps using a locale other than
en_US
? If so, then it’s possible this might be an issue solvable by translation.Another solution would be to use the filters exposed by the plugin to modify the defaults to your preference rather than overriding them with every instance. See How to change the outputted date/time format? in the FAQ for a description and code snippet for how to do this.
Thanks for your review! If you have issues though, please direct them to the Support Forum as I do actively monitor and reply to new threads there.
Forum: Reviews
In reply to: [Last Modified Timestamp] Great plugin!Thank you!
Forum: Plugins
In reply to: [Last Modified Timestamp] How to change date format using shortcode?As mentioned in the FAQ, you can customize the date format used in the output using standard PHP date format placeholders.
In your case, to modify the date format to your desired result, you would want to use the following shortcode
[last-modified datef="Y-m-d" /]
Note that the default output format includes the time and a separator as well. If you want the output to _only_ contain the date, then you will want to override the format as well, like so:
[last-modified datef="Y-m-d" format="%date%" /]