Title: a need for: postfix_few
Last modified: June 15, 2019

---

# a need for: postfix_few

 *  Resolved [mic22](https://wordpress.org/support/users/mic22/)
 * (@mic22)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/a-need-for-postfix_few/)
 * In Polish there is a different suffix for words that are counting few.
    So: 1
   minute = in polish: 1 minuta 2 minutes = in polish: 2 minuty 3 minutes = in polish:
   3 minuty 4 minutes = in polish: 4 minuty 5 minutes = in polish: 5 minut 6 minutes
   = in polish: 6 minut and then it continues with “minut”. Also I know that most
   east Europe languages also have a different grammar for “few” counters, so it
   would help a lot of people. So the postfix_few would show the text after number
   for numbers: 2, 3 and 4 If you could add this functionality to the shortcode 
   and if possible to the plugin settings as well – IT WOULD BE AWESOME I have 10
   projects running and on each I would like to show the reading time, but this 
   has to be grammaricly correct 😉 Thank you in advance
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fa-need-for-postfix_few%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Jason Yingling](https://wordpress.org/support/users/yingling017/)
 * (@yingling017)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/a-need-for-postfix_few/#post-11647294)
 * Hi there,
 * In Reading Time WP I added a new filter for editing the postfix output. You’ll
   need to include this code in your theme’s functions.php. Preferably with a child
   theme.
 *     ```
       /**
        * Adjust the reading time postfix.
        */
       function my_custom_reading_time( $postfix, $time, $singular, $multiple ) {
       	if ( $time == 1 ) {
       		$postfix = 'minuta';
       	} elseif ( $time == 2 || $time == 3 || $time == 4 ) {
       		$postfix = 'minuty';
       	} else {
       		$postfix = 'minut';
       	}
   
       	return $postfix;
       }
       add_filter( 'rt_edit_postfix', 'my_custom_reading_time', 10, 4 );
       ```
   
 * Here it is in Gist form. [https://gist.github.com/yingles/919f8edd402f1215f77fae623371f71b](https://gist.github.com/yingles/919f8edd402f1215f77fae623371f71b)
 * Let me know if you have any questions.
 *  Thread Starter [mic22](https://wordpress.org/support/users/mic22/)
 * (@mic22)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/a-need-for-postfix_few/#post-11652416)
 * Works! thank you !

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘a need for: postfix_few’ is closed to new replies.

 * ![](https://ps.w.org/reading-time-wp/assets/icon-256x256.png?rev=2355751)
 * [Reading Time WP](https://wordpress.org/plugins/reading-time-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/reading-time-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/reading-time-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/reading-time-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/reading-time-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/reading-time-wp/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [mic22](https://wordpress.org/support/users/mic22/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/a-need-for-postfix_few/#post-11652416)
 * Status: resolved