I just installed your plugin and noticed that it doesn’t work well with qTranslate because you display raw content (like page titles in widget settings). The problem is that I see titles for all languages instead of just the current one. Something like this can be done as a hotfix:
<label for="<?php echo $widget->get_field_id('page-'. $page->ID); ?>"><?php echo $page->post_title ?></label></p>
<label for="<?php echo $widget->get_field_id('page-'. $page->ID); ?>"><?php echo apply_filters('the_title', $page->post_title, $page->ID); ?></label></p>
Or you can use the WP loop instead of foreach, so all the filters will be added automatically.
- The topic ‘Please use filters for displaying content like titles’ is closed to new replies.