Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

136
Views
How do I change only the front end day & date language of the site without changing the main site language in WordPress?

My existing user interface and WordPress admin panel language is English.

Only the language of the user interface will change but the language of the WordPress admin panel will be English.

All posts, comments will also use this changes language.

I have added the following code to function.php

function myprefix_live_site_locale( $locale ) {
    if ( ! is_admin() ) {
        return 'ru_RU';
    }
    return $locale;
}
add_filter( 'locale', 'myprefix_live_site_locale' );

it doesn't working.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!