[Resolved] [Plugin: Network Latest Posts] date format
Wow Jose! This plugin has come a long way, so many new exciting features! Thank you so much for including my suggestion about taxonomy control, that’s a real plus.
Just saw that you’ve added meta info – fab idea. I am having a little trouble controlling the date format however.
I see that it’s called in this bit of code:
$format = (string)$options->option_value; $dateobj = new DateTime(trim($thispost[$i]->post_date)); $datepost = $dateobj->format("$format");
Because my site is in French, I’d like to be able to modify how the date is displayed, which is different in different languages (as I’m sure you know). I thought the code was calling to the site settings to get the established format, but that doesn’t seem to be the case. At least it’s not working for me that way. ideas? (ie, the date appears “March 2, 2012” instead of “2 mars 2012”)
And then one more suggestion. It would be even *more* awesome if the meta info could be called separately. For example, I’d like date, but not author. Of course, I’ll just change the code for my current purposes, but in the future, maybe on one page I want author info, and in a widget use I don’t. Separating them out would be more flexible, and also help with formatting 🙂 knowwhatimean?
thanks again! this is now officially IMHO the BEST network-wide post publishing tool available. Bravo!
- The topic ‘[Resolved] [Plugin: Network Latest Posts] date format’ is closed to new replies.