PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Show entry id for each entry on overview page

  1. Hi.
    I was wondering if it is possible to display the entry id for each entry on the overview page?
    Cheers
    Vayu

    Posted 12 years ago on Friday August 26, 2011 | Permalink
  2. Okay, I found this hook, that could help me display the entry id:

    add_action('gform_entries_first_column', 'first_column_content', 10, 5);
    function first_column_content($form_id, $field_id, $value, $lead, $query_string) {
    
    	echo 'Entry id: <strong>'.$lead['id'].'</strong>';
    
    }

    This is not exactly what I was looking for but close enough.

    I was actually looking to create a new column where the entry id would be displayed. But like I said, this is good enough. :-)

    Vayu

    Posted 12 years ago on Friday August 26, 2011 | Permalink
  3. Do you mean on this page?

    http://example.com/wp-admin/admin.php?page=gf_entries&id=11 (where 11 is your form ID)? All the entries for a single form?

    If so, you can click the [Edit] link in the table header to select the columns you want displayed. You can drag and drop them into a different order as well.

    Posted 12 years ago on Saturday August 27, 2011 | Permalink
  4. He he, I didn't know this was possible. Thanks Chris, for pointing this out. :-)
    Vayu

    Posted 12 years ago on Saturday August 27, 2011 | Permalink
  5. You're welcome. Glad you found it.

    Posted 12 years ago on Saturday August 27, 2011 | Permalink

This topic has been resolved and has been closed to new replies.