WPML Having trouble trouble translating theme's home slides
-
I am using the theme called “architectos” which has this a home slide page and I wanted them to be translated to 2 more languages like I did with the rest of the website but is not working. the theme’s home-page has this:
$args = array( 'post_type' => 'wpb_homeslide', 'posts_per_page' => -1, 'suppress_filters' => 0 );
query_posts( $args );
I tried changing it tosuppress_filters => 1`
but it is showing then only italian language (main page is English).Also tried to change the query_posts to any of these with no luck:
$query = new WP_Query( $args ); get_posts ($args) But nothing.
The website is http://www.vancheri.com
Now I have the idea to make an if / else, in which if the site is in “x” language, to follow suppress filters 1, but i dont even know how to make it work.
Thank you.
- The topic ‘WPML Having trouble trouble translating theme's home slides’ is closed to new replies.