Thubten
Forum Replies Created
-
Forum: Plugins
In reply to: [Groups] get_posts is not filteredHello,
For the moment, the solution would be using the groups API:
$queryProducts = get_posts(array('post_type'=> post, 'post_status'=> 'publish', 'showposts' => 1000)); $user_ID = get_current_user_id(); foreach ($queryProducts as $post) { if (!Groups_Post_Access::user_can_read_post($post->ID, $user_ID)) continue; $title = get_the_title($post); .... }Yours
Forum: Plugins
In reply to: [WP Sitemap Page] Problem using this plugin with WPMLHello,
The plugin has a problem in the frond-end side and the WPML team has just been gave me advice on how to solve this issue.
On the back-end side, it was my mistake, the admin language should be set up in the “WPML admin language” setting page.For the detailed answer: http://wpml.org/forums/topic/wp-sitemap-page/#post-546231
Hope the code will be changed by the author in a soon update…
ThanksForum: Plugins
In reply to: [Quotes Collection] Make it work with WPMLYour welcome…
Hope it will be helpful for anyone who wants to use this plugin with WPML.Forum: Plugins
In reply to: [Easing Slider] Add different class number for each imageFinally I could manage it.
Just have to modify easing-slider/templates/slideshow.php
– Line 96, just after class=”easingsliderlite-image, add a space and:
<?php echo 'img-'.$slide->id ?>Yours
Forum: Plugins
In reply to: [Quotes Collection] Make it work with WPMLHello,
To add the Widget title in WPML String, please change the plugin’s code as follow:
In quotes-collection-widget.php:
– Line 13, under $options = get_option(‘quotescollection’);
// WPML if (function_exists('icl_t')) { $options['title'] = icl_t('Quotes Collection', 'Widget title', $options['title']); }– Line 71, under update_option(‘quotescollection’, $options);
//WPML if (function_exists('icl_register_string')) { icl_register_string('Quotes Collection', 'Widget title', $options['title']); }All the best