WordPress.org

Ready to get started?Download WordPress

Forums

TW Recent Posts Widget
Localization issue with WPML (1 post)

  1. panotar
    Member
    Posted 1 year ago #

    Hey,

    thanks for the plugin. I had an issue regarding the localization of the title and the 'more' string, and i was told you use a non-standard way of registering the title filter. Changing the line

    $title = apply_filters ( 'title', isset ( $instance ['title'] ) ? esc_attr ( $instance ['title'] ) : '' );

    to

    $title = apply_filters ( 'widget_title', isset ( $instance ['title'] ) ? esc_attr ( $instance ['title'] ) : '' );

    did the trick for me, at least with WPML.

    Just thought I'd let you know...

    http://wordpress.org/extend/plugins/tw-recent-posts-widget/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by panotar
  • This topic is not a support question
  • WordPress version: 3.5.1