How can I display the data from within a Gravity Form on a Wordpress page?

(This may be too detailed, but in case anybody wants details about what I'm trying to do, here they are):

I have two Gravity Forms - a pledge form, and a recruit form:

  • The recruit form (e.g. www.test.com/recruit) is used to create a referral URL that adds a user-specified code onto the end of the pledge form URL. It also captures the user's email.
  • The pledge form (e.g. www.test.com/pledge) is used to capture user information (name, email, etc.), and when a user fills it out with a URL that contains a referral code (e.g. www.test.com/pledge/?referrer=iamthereferralcode), the form also captures that code in a field called "referrer".

I need to display the top 5 referral URLs and their email addresses on a certain page on my Wordpress site.

I'd appreciate any insight. Thank you!

closed as off-topic by Mark Kaplun, mrwweb, Johannes Pille, Pieter Goosen, gmazzap Sep 2 '14 at 8:06

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic." – Mark Kaplun, mrwweb, Johannes Pille, Pieter Goosen, gmazzap
If this question can be reworded to fit the rules in the help center, please edit the question.

  • checkout this thread: wordpress.stackexchange.com/questions/82791/… – Ajith R Nair Feb 7 '14 at 23:05
  • Alternately you could create a WordPress custom field to store referrer URLs / emails, populate them via hidden Gravity Form fields. Then on your page retrieve the values of the custom field, do a count, display the top 5. – Michelle Feb 7 '14 at 23:40