Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter gels13

    (@gels13)

    Thank you very much, you were able to help me with your guidance!
    Thank you!

    Thread Starter gels13

    (@gels13)

    I was unable to resolve the issue that is in the “generic” Theme!

    I created a separate site with a sub-domain, in which there is only wordpress and the theme, no plugins.

    test.divine-age.com
    When I call today’s date in functions.php, via “echo date(‘l, F j, Y’);”, the translation is in Bulgarian, but when I use a function created in functions.php for a shortcode by which I call today’s date, it is in english. The shortcode function is:

    function displayTodaysDate( $atts )
    {
    return date(get_option(‘date_format’));
    }
    add_shortcode( ‘datetoday’, ‘displayTodaysDate’ );
    where the translation is in English!
    I am not good with codes and programming for which I apologize and Please help!

    • This reply was modified 1 year, 6 months ago by gels13.
Viewing 2 replies - 1 through 2 (of 2 total)