0

I am using the following code to display the posts.

This is the output

$args = array(
    'posts_per_page' => -1,
    'post_type' => 'products',
    'post_status' => 'publish',
    'post_parent' => 0,
    'orderby' => 'menu_order',
    'order' => 'ASC',
);
$the_query = new WP_Query($args);
Ravi Sachaniya
  • 1,641
  • 18
  • 20
  • Looks like the font that you are using isn't capable of displaying the Russian alphabet. –  Apr 09 '18 at 05:54
  • You have the wrong encoding to.use russian characters – treyBake Apr 09 '18 at 06:11
  • This link is probably useful for you to resolve the issue yourself, this question is likely to get closed... [UTF-8 all the way through](https://stackoverflow.com/questions/279170/utf-8-all-the-way-through) – naththedeveloper Apr 09 '18 at 06:15
  • 1
    Thank you all for the replies. @naththedeveloper your link was useful. Found the issue. I was using `strtolower` in my code. Now I have changed it to `mb_strtolower(get_the_title($the_query->ID)`. Now it works. – Rushanthan Apr 09 '18 at 06:30

0 Answers0