Title: Custom Fields
Last modified: June 8, 2018

---

# Custom Fields

 *  Resolved [David Foreman](https://wordpress.org/support/users/davros20/)
 * (@davros20)
 * [8 years ago](https://wordpress.org/support/topic/custom-fields-290/)
 * Great plugin – is there any way we can make it recognise text content in custom
   fields?

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

 *  Plugin Author [Jason Yingling](https://wordpress.org/support/users/yingling017/)
 * (@yingling017)
 * [8 years ago](https://wordpress.org/support/topic/custom-fields-290/#post-10379973)
 * Not currently. Are you working with Advanced Custom Fields or are you creating
   your own core meta fields?
 * You could technically modify the `rt_calculate_reading_time` function to pull
   in your custom fields and add it to the count.
 *  Plugin Author [Jason Yingling](https://wordpress.org/support/users/yingling017/)
 * (@yingling017)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/custom-fields-290/#post-10590780)
 * Hi David,
 * The latest version of Reading Time WP added a filter for adding to the word count.
   You can use `rtwp_filter_wordcount`.
 *  [bekee](https://wordpress.org/support/users/bekee/)
 * (@bekee)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-290/#post-11155470)
 * [@yingling017](https://wordpress.org/support/users/yingling017/) can you provide
   further direction on how to use that filter?
    -  This reply was modified 7 years, 4 months ago by [bekee](https://wordpress.org/support/users/bekee/).
 *  Plugin Author [Jason Yingling](https://wordpress.org/support/users/yingling017/)
 * (@yingling017)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-290/#post-11159680)
 * [@bekee](https://wordpress.org/support/users/bekee/) you can use the `add_filter`
   function to add to the total word count that’s calculated.
 * A basic example adding 3000 words to the count could look like this.
 *     ```
       add_filter( 'rtwp_filter_wordcount', 'up_the_count' );
       function up_the_count( $count ) {
       	return $count + 3000;
       }
       ```
   
 * Now that’s not very useful on account of it just inflating the total. But if 
   you wanted to add an ACF WYSIWYG to the word count you could do return something
   like.
 * `return $count + count( preg_split( '/\s+/', get_field( 'acf_wysiwyg', $post-
   >ID ) ) );`
 * Hopefully that helps.
 *  [bekee](https://wordpress.org/support/users/bekee/)
 * (@bekee)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-290/#post-11161417)
 * [@yingling017](https://wordpress.org/support/users/yingling017/) Thanks so much!
   That helps a lot.
 * Cheers!

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

The topic ‘Custom Fields’ 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/)

 * 5 replies
 * 3 participants
 * Last reply from: [bekee](https://wordpress.org/support/users/bekee/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-290/#post-11161417)
 * Status: resolved