• Resolved bajan4evr2

    (@bajan4evr2)


    I would like to create a simple field that list the total number of people in the database. How do I do that? For example, If I use “1” that person is counted. If zero or blank, then that person is not included in the final total. Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Roland Barker

    (@xnau)

    Great. What if I wanted a record count over a period of time? How can I do? Thanks to the availability.

    Plugin Author Roland Barker

    (@xnau)

    The pdb_total shortcode can use the same “filter” attribute values as the list shortcode, and so if you used the filter to specify a time span, it would show all the new records created during that span, or all the new records created before a certain date, etc…

    List Shortcode Filters

    Thanks to the availability. I am using this code

    Officina Fabbro ha attivato [pdb_total filter = “workshop = blacksmith” filter = “activation_date> -1_months & amp; date_atting & lt; current_month”] tessere.

    to get the number of registered records of type officina = fabbro in the previous month, but I do not get the correct number. Where am I doing wrong? What code should I enter? Thank you

    Plugin Author Roland Barker

    (@xnau)

    Refer the page I linked to above for the details. You can only have one filter per shortcode, so you have to chain them all together.

    List Shortcode Filters

    Good morning and thank you. I think I have solved with this code. Super thank you

    Officina Fabbro ha creato [pdb_total filter=”data_attivazione>-1_months&data_attivazione<current_month&officina=fabbro”] Tessere

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

The topic ‘Count Field’ is closed to new replies.