Product icon

Count

v0.9.15 (27 October 2025)

Changelog

Changelog Count

= 0.9.15 = - Added the possibility to use 'gwp_count' as a short alternative for 'gravitywp_count'. = 0.9.14 = - Fix a bug introduced in 0.9.12, where the total entries of all forms wasn't counted anymore when the formid parameter is not present. = 0.9.13 = * Correct version number. = 0.9.12 = * Minor optimization: Validate form ids before running the query. = 0.9.11 = * Option to use form_id instead of formid as parameter. = 0.9.10 = * Fix for greater_than and less_than operators not working.= 0.9.9 = * PHP 8+ compatibility for calculations. = 0.9.8 = * Added the gwp_count_result filter to allow modification of the shortcode output. * Improved documentation.= 0.9.7 = * Added the possibility to count entries from multiple forms. * Added support for relative date filters. = 0.9.7 = * Added the possibility to count entries from multiple forms. * Added support for relative date filters. = 0.9.6 = * Adhere to WordPress coding standards. * Tested with WP 5.8. * Updated urls for the new https://gravitywp.com. = 0.9.5 = * **Important:** The page_size attribute is no longer supported to avoid confusion and unintended results. It now defaults to the total entry count. * Non-numeric values will be ignored when calculating the total of a field. This prevents a php warning message when a field is empty or contains a non-numeric value. * Added support for translations. = 0.9.4 = * Change default page_size from 200 to 10000 for counting number fields * Added information about page_size to readme.txt = 0.9.3 = * Added attribute for filtering on workflow steps in Gravity Flow (workflow_step="30" workflow_step_status="pending,complete" workflow_step_is_current="false"). Credits to Yoren Chang. = 0.9.2 = * Added attribute for filtering on approval status in Gravityview (is_approved="yes" is_approved="no"). Thanx Gravityview for support! = 0.9.1 = * Checks first if Gravity Forms is active * Added attribute for filtering with date range (start_date="" end_date=""). Add in Month/day/Year, eg 12/31/2017. = 0.9 = * Added attribute multiply (standard is 1, multiply="2" will double, multiply="0.5" will half, etc) * Added a value to attribute created_by="current" (this will count only the entries or numberfields filled in by the current logged-in user) = 0.8 = * Added attribute page_size (standard is 500). * Added attribute is_starred (yes to count only starred entries, no to count only not starred entries, empty to show all) * Added attribute is_read (yes to count only read entries, no to count only not read entries, empty to show all) * Added attribute created_by (to count only the entries from a specific user ID) * Updated the Readme.txt and added information that this plugin won't work when Gravity Encryption is enabled = 0.7 = * Added attribute add_number="" to the shortcode. With this attribute you can add or subtract a number from the output. For example add_number="100" will add 100 to the output. For example add_number="-100" wil subtract 100 from the output. = 0.6 = * Added filter_operator (conditional logic) attributes for filtering to shortcode (default: is | other options: isnot, not_equal, greater_than, less_than, contains, starts_with, ends_with) * Added formstatus attribute to shortcode (default: active | other options: spam, trash, all ) * Added filter mode options to attribute of the shortcode filter_mode (default: all | other options: any) * Improved structure of the code for easier adding of extra possibilities * Added 3 more filter options: filter_field3, filter_field4, filter_field5 (+ operators and values e.g. filter_operator3, filter_value5 etc) = 0.5 = * Cleaned up the code (removed the old shortcodes, so please update your shortcodes! No backward compability) * Exclude entries that are in trash * Set default formid to zero = 0.4 = * Make only 1 shortcode that automatically manages the input * Updated readme.txt = 0.3.1 = * Set default values for decimal, dec_point and thousands_sep * Cleaned up some code * Updated the readme.txt = 0.3 = * Added shortcode for counting total number of entries * Added shortcode for counting total number of entries with 1 filter * Added shortcode for counting total number of entries with 2 filters * Added shortcode for counting total number of entries which are starred * Updated the readme.txt = 0.2 = * Added decimal and thousand seperator * Added multiple shortcodes (for different filtering options) * Updated the readme.txt = 0.1 = * Added only the function to count the total of a number field for multiple entries in Gravity Forms

Documentation

$49.00 (yearly, excl. VAT)

buy now

Gravity Forms count tasks don’t have to be manual. The GravityWP Count add-on lets you count entries or sum a Number field across entries with a simple shortcode. You can filter by date, user, approval status, or Gravity Flow step and format the result for display on your site

Gravity Forms Count Features

  • Simple Shortcode
    Use a shortcode for Gravity Forms count to output the number of entries or the sum of a Number field across entries.
  • Filter which entries should be counted
    Apply filters (dates, user, approval, Gravity Flow) for accurate entry totals.
  • Basic calculation operators
    Multiply or add/subtract the count result as needed.
  • Custom decimal point and thousands separator
    Set the decimal point and thousands separator in the shortcode
  • Count multiple forms
    Count entries (or the total of a number field) for multiple forms
  • Filter on relative dates
    Use ranges like ‘-1 week’ or ‘1 month ago’ for weekly or monthly entry counts.

“This plugin pairs beautifully with GravityView. I was able to sum rows of similar entries on the front end of Multiple Entries table. Perfect if you need to track the sales of individual sales people, order amounts from similar customers, etc.”

rochekaid

“Love this plugin… allows you to take data that’s otherwise likely to be forgotten and bring it to the centre of your website.”

pseudostave2

Most simple shortcode

Most simple version of the shortcode (display number of total entries Gravity Forms for a form):

[gravitywp_count formid='']

Most extensive shortcode

The most extensive version of the shortcode (display the total count of a number field from multiple Gravity Forms entries with up to five filters and input for number of decimals, the decimal point notation and the thousand seperator, etc, etc):

[gravitywp_count formid='' formstatus='' number_field='' filter_mode='' filter_field='' filter_operator='' filter_value='' filter_operator2='' filter_field2='' filter_value2='' filter_field3='' filter_operator3='' filter_value3='' filter_field4='' filter_operator4='' filter_value4='' filter_field4='' filter_operator4='' filter_value4='' decimals='' dec_point='' thousands_sep='' is_read='yes' is_approved='yes' is_starred='no' page_size='1000' created_by='1' multiply='2' start_date='12/31/2016' end_date='12/31/2017' workflow_step='' workflow_step_status='complete' workflow_step_is_current='true']

“Simple plugin that delivers powerful results. Big thanks to the developers!!!”

Chapmanmarketingsolutions

Gravity Forms Count – FAQ

Is there an alternative that does similar calculations?

Yes. You can use chart/calculation tools like GFCharts with custom JavaScript to change the output format or number value. Count focuses on a simple shortcode to return a total fast.

Is GravityView approval status supported?

When GravityView is active, you can count only approved entries.

[gravitywp_count formid="2" number_field="4" is_approved="yes"]

Is Gravity Flow supported?

You can also filter the entry count by Gravity Flow step or status.

[gravitywp_count formid="2" workflow_step="5"]

How do I just count all entries in a form?

Use the basic shortcode:

[gravitywp_count formid="2"]

How do I sum a Number field across entries?

Provide the Number field ID:

[gravitywp_count formid="2" number_field="4"]

Can I filter date or relative dates (like last week)?

Yes use absolute or relative ranges:

[gravitywp_count formid="2" start_date="-1 week" end_date="now"]

How do I format decimals and thousands separators?

Control precision and separators in the shortcode:

[gravitywp_count formid="2" number_field="4" decimals="2" dec_point="." thousands_sep=","]

Can I do a quick calculation on the result (e.g., multiply by 2)?

Yes apply a simple multiplier:

[gravitywp_count formid="2" multiply="2"]

Gravity Forms Count add-on icon

ADD-ON COUNT

Display the sum of entries or the sum of a Number Field for multiple entries (and filter them).

Download

 

Gravity Forms count tasks don’t have to be manual. The GravityWP Count add-on lets you count entries or sum a Number field across entries with a simple shortcode. You can filter by date, user, approval status, or Gravity Flow step and format the result for display on your site

Gravity Forms Count Features

  • Simple Shortcode
    Use a shortcode for Gravity Forms count to output the number of entries or the sum of a Number field across entries.
  • Filter which entries should be counted
    Apply filters (dates, user, approval, Gravity Flow) for accurate entry totals.
  • Basic calculation operators
    Multiply or add/subtract the count result as needed.
  • Custom decimal point and thousands separator
    Set the decimal point and thousands separator in the shortcode
  • Count multiple forms
    Count entries (or the total of a number field) for multiple forms
  • Filter on relative dates
    Use ranges like ‘-1 week’ or ‘1 month ago’ for weekly or monthly entry counts.

“This plugin pairs beautifully with GravityView. I was able to sum rows of similar entries on the front end of Multiple Entries table. Perfect if you need to track the sales of individual sales people, order amounts from similar customers, etc.”

rochekaid

“Love this plugin… allows you to take data that’s otherwise likely to be forgotten and bring it to the centre of your website.”

pseudostave2

Most simple shortcode

Most simple version of the shortcode (display number of total entries Gravity Forms for a form):

[gravitywp_count formid='']

Most extensive shortcode

The most extensive version of the shortcode (display the total count of a number field from multiple Gravity Forms entries with up to five filters and input for number of decimals, the decimal point notation and the thousand seperator, etc, etc):

[gravitywp_count formid='' formstatus='' number_field='' filter_mode='' filter_field='' filter_operator='' filter_value='' filter_operator2='' filter_field2='' filter_value2='' filter_field3='' filter_operator3='' filter_value3='' filter_field4='' filter_operator4='' filter_value4='' filter_field4='' filter_operator4='' filter_value4='' decimals='' dec_point='' thousands_sep='' is_read='yes' is_approved='yes' is_starred='no' page_size='1000' created_by='1' multiply='2' start_date='12/31/2016' end_date='12/31/2017' workflow_step='' workflow_step_status='complete' workflow_step_is_current='true']

“Simple plugin that delivers powerful results. Big thanks to the developers!!!”

Chapmanmarketingsolutions

Gravity Forms Count – FAQ

Is there an alternative that does similar calculations?

Yes. You can use chart/calculation tools like GFCharts with custom JavaScript to change the output format or number value. Count focuses on a simple shortcode to return a total fast.

Is GravityView approval status supported?

When GravityView is active, you can count only approved entries.

[gravitywp_count formid="2" number_field="4" is_approved="yes"]

Is Gravity Flow supported?

You can also filter the entry count by Gravity Flow step or status.

[gravitywp_count formid="2" workflow_step="5"]

How do I just count all entries in a form?

Use the basic shortcode:

[gravitywp_count formid="2"]

How do I sum a Number field across entries?

Provide the Number field ID:

[gravitywp_count formid="2" number_field="4"]

Can I filter date or relative dates (like last week)?

Yes use absolute or relative ranges:

[gravitywp_count formid="2" start_date="-1 week" end_date="now"]

How do I format decimals and thousands separators?

Control precision and separators in the shortcode:

[gravitywp_count formid="2" number_field="4" decimals="2" dec_point="." thousands_sep=","]

Can I do a quick calculation on the result (e.g., multiply by 2)?

Yes apply a simple multiplier:

[gravitywp_count formid="2" multiply="2"]

Proudly powered by WordPress