Multumesc mult Floki, asta este ceea ce cautam, raman dator...
Cod:function displaydate() { $roMonth = ['Ianuarie', 'Februarie', 'Martie', 'Aprilie', 'Mai', 'Iunie', 'Iulie', 'August', 'Septembrie', 'Octombrie', 'Noiembrie', 'Decembrie']; $date = date('d-m-Y'); $date_array=explode('-', $date); return $date_array[0] . ' ' . $roMonth[$date_array[1] - 1] . ' ' . $date_array[2]; } add_shortcode('date', 'displaydate');



Răspunde cu citat