English posts showing up on Chinese and Japanese dimensions
-
I have a site in English that is translated into Japanese and Simplified Chinese using Lingotek and Polylang. However, when I use your plugin, it looks like the English blog posts are showing up on the translated dimensions, and vise versa:
https://4cs-uat.gia.edu/en-us/blog/
https://4cs-uat.gia.edu/zh-cn/%E5%8D%9A%E5%AE%A2/
https://4cs-uat.gia.edu/ja-jp/%E3%83%96%E3%83%AD%E3%82%B0/That is a problem because I need it to be locale specific. I can’t have mixed content/languages.
In case you are wondering, this is a sandbox environment, not production, so you will see several php errors on the front end. I am aware of these error.
Just FYI, I have the code in a file called featured.php which affects the slider and the “Popular Posts” section. This is the code I’m using:
<?php $args = array( 'limit' => 4, 'range' => 'all', 'order_by' => 'views', 'post_type' => 'post', 'thumbnail_width' => 330, 'thumbnail_height' => 167, 'stats_views' => 1, 'stats_category' => 1, 'post_html' =>' <article class="blog-post featured-post"> <header> <span class="info">Views: {views}</span> <figure> {thumb} </figure> <ul class="categories"> <li>{category}</li> </ul> <h3>{title}</h3> </header> </article>' ); wpp_get_mostpopular( $args ); ?>
Any help would be greatly appreciated.
The page I need help with: [log in to see the link]
- The topic ‘English posts showing up on Chinese and Japanese dimensions’ is closed to new replies.