Title: Wrong column headers names
Last modified: January 3, 2024

---

# Wrong column headers names

 *  Resolved [masterbip](https://wordpress.org/support/users/masterbip/)
 * (@masterbip)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/wrong-column-headers-names/)
 * Hello. At some poing something started to failm with table column names.
 * First all fine; Was like:
   “Txt Apellidos | Txt Nombre | Txt Emilio | Txt Telefono”
 * Now I see in my new created forms Something like:
   “Redirect Nonce | Wpcf7cfpdf
   Hidden Name | Wpcf7cfpdf Hidden Reference | Wpcf7cfpdf Hidden Date”
 * How can I see the field name, again, as table column names?

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

 *  Plugin Author [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * (@arshidkv12)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/wrong-column-headers-names/#post-17435096)
 * Change column order by following code.
 *     ```wp-block-code
       add_filter('cfdb7_admin_subpage_columns', 'my_cfdb7_change_cols', 10, 2);
       function my_cfdb7_change_cols( $columns, $form_id ){
           if( $form_id == 1){ // change form id
               $my_columns['your-name'] = 'Name'; //input filed name is array key
               $my_columns['your-subhect'] = 'Subject';
               $columns = $my_columns;
           }
           return $columns;
       }
       ```
   
    -  This reply was modified 2 years, 3 months ago by [Arshid](https://wordpress.org/support/users/arshidkv12/).
 *  [festival50](https://wordpress.org/support/users/festival50/)
 * (@festival50)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/wrong-column-headers-names/#post-17547746)
 * Hello, where exactly should I put this code? I have tried it in several places
   and it doesn’t work for me. thank you so much.
 *  Plugin Author [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * (@arshidkv12)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/wrong-column-headers-names/#post-17548282)
 * Put code in theme functions.php
 *  [festival50](https://wordpress.org/support/users/festival50/)
 * (@festival50)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/wrong-column-headers-names/#post-17550507)
 * Thank you, it now works correctly. Thanks for your work again.
 *  [gregy1403](https://wordpress.org/support/users/gregy1403/)
 * (@gregy1403)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/wrong-column-headers-names/#post-18005920)
 * I also have this problem, but the code in functions is not solving it 🙁
 *  [e dev](https://wordpress.org/support/users/efishinsea/)
 * (@efishinsea)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/wrong-column-headers-names/#post-18031936)
 * Gregy1403 – make sure you are using the Form Database ID (&fid) and not the Contact
   Form 7 ID for the form. You can find that in the URL when viewing the form in
   edit mode, or the form submissions for that form:
 *     ```wp-block-code
       Form Edit: /wp-admin/admin.php?page=wpcf7&post=5966&action=edit Submissions: /wp-admin/admin.php?page=cfdb7-list.php&fid=5966
       ```
   
 * As for the plugin author, having the normal WordPress ‘options’ panel at the 
   top of the page with column headers to choose, or a custom chooser would be extremely
   helpful.
 * Right now, it just takes the first 4 columns it finds and a date, which in our
   case are redirection NONCE codes and other meaningless stuff.
 *  [kleinermann](https://wordpress.org/support/users/kleinermann/)
 * (@kleinermann)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/wrong-column-headers-names/#post-18141124)
 * If you want to have the check-box column when using above code, you can add the
   following code as the first column:
 *     ```wp-block-code
       $my_columns['cb'] = '<input type="checkbox" />';
       ```
   
 * So it would look something like this:
 *     ```wp-block-code
       add_filter('cfdb7_admin_subpage_columns', 'my_cfdb7_change_cols', 10, 2);function my_cfdb7_change_cols( $columns, $form_id ){    if( $form_id == 1){ // change form id        $my_columns['cb'] = '<input type="checkbox" />';        $my_columns['your-name'] = 'Name'; //input filed name is array key        $my_columns['your-subhect'] = 'Subject';        $columns = $my_columns;    }    return $columns;}
       ```
   

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

The topic ‘Wrong column headers names’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-cfdb7/assets/icon-256x256.png?rev=1619878)
 * [Database Addon for Contact Form 7 - CFDB7](https://wordpress.org/plugins/contact-form-cfdb7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-cfdb7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-cfdb7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-cfdb7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-cfdb7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-cfdb7/reviews/)

 * 9 replies
 * 6 participants
 * Last reply from: [kleinermann](https://wordpress.org/support/users/kleinermann/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/wrong-column-headers-names/#post-18141124)
 * Status: resolved