Plugin Author
Chouby
(@chouby)
I did not succeed to make the plugin work. However, you can edit the file content-slider.php at line 116 and replace:
$args = array( 'meta_key' => 'feat_slider', 'meta_value'=> '1', 'suppress_filters' => 0, 'post_type' => array('post', 'page'), 'orderby' => $sort, 'order' => $order, 'numberposts'=> $post_limit);
by:
$args = array( 'lang' => reset(explode('_', get_locale())), 'meta_key' => 'feat_slider', 'meta_value'=> '1', 'suppress_filters' => 0, 'post_type' => array('post', 'page'), 'orderby' => $sort, 'order' => $order, 'numberposts'=> $post_limit);
It should enable the language filter for the slider.
Thank you very much for answer. It does the job. However you have to use same feautured image on translated content. Otherwise it will overwrite image on default language. If i want to use diffrent feautured image, i have to create new post. Anyway i dont think it is a bug. Thanks once again.
Plugin Author
Chouby
(@chouby)
Yup, it works like a charm. Thank you.
Hi, thanks for your work so far on the plugin.
I am new to wordpress and i have no idea on programing in general
I am constructing a dual language page with polylang and I have a problem since i updated the theme to graphene 1.6.1 and polylang to 0.8 (not sure what caused the problem) but the slider doesn’t filter the posts and shows all(same posts in both langages) of them in whatever language i’m on, The slider was working fine before that, in “Show latest posts” or ” Show specific posts/pages ” mode.
Any ideas how to fix that ?
Thanks
Plugin Author
Chouby
(@chouby)
Sorry for this bad regression. The problem will be corrected in 0.8.1 to come soon.
Ok, looking forward for the update.
Thanks
Plugin Author
Chouby
(@chouby)
You can already try with the development version if you want (no major changes, mainly bug corrections).
0.8.0.5 is the latest one ? and includes that bug correction ?