Forum Replies Created
-
AuthorPosts
-
Jean-PierreParticipant
Hello Mahesh, hallo Sakin
here the links to the images:
https://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2016/04/871155-home_category_1.png
BTW: I’m using Kathmandu Pro for a german-french website. There the problem didn’t occur.
Regards,
Jean-PierreJean-PierreParticipantI got the problem solved by WPML. Perhaps this could help you to improve your products:
The problem of not being displaying the homepage in the second language is that your theme uses an option to allow you to choose a category to display on the homepage.
When I saved in one language, the other language category is cleared. I’ll attach some pictures for you to see.
On the file “wp-content/themes/catch-box-pro/inc/catchbox-functions.php” on line 1402:
$query->query_vars['category__in'] = $options[ 'front_page_category' ];
add up this line, these three lines:if ( defined( "ICL_LANGUAGE_CODE" ) ) { $options[ 'front_page_category' ] = apply_filters( 'wpml_object_id', $options[ 'front_page_category' ][0], 'category', true ); }
Regards,
jpmJean-PierreParticipantRegards
Jpm -
AuthorPosts