Skip to main content

Activity

commented on Posting petition total on another page
I’ve been trying for a while to get this to work. The linked help page isn’t helpful at all in this specific case. There is no ‘For’ statement to copy.

At best the code I’ve tried ( {{ page.petition.signatures_count | number_with_commas }} with varying degrees of wrappers). displays nothing (or just prints the code). Even when copying the entire petitions page code onto the homepage template it shows the petition form, but not the number of petitions signed.

It would be great to have this number as part of a dynamic call to action on our homepage for viewers to see and engage right from the beginning.
posted 2017-07-26 13:37:26 -0700