Title: Custom Fields
Last modified: November 7, 2017

---

# Custom Fields

 *  Resolved [Cafn](https://wordpress.org/support/users/cafn/)
 * (@cafn)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/custom-fields-265/)
 * Hi there.
 * Is it possible to have custom fields added to the configuration?
 * I have more fields configured on pipedrive and I required that those fields would
   be populated by this plugin.
 * I have skills on programing, just need some lights and we can make a good update
   for the plugin.
 * Thanks

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

 *  [edwinbeek](https://wordpress.org/support/users/edwinbeek/)
 * (@edwinbeek)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/custom-fields-265/#post-9662017)
 * I have the same problem, this would be a great functionality.
 *  Plugin Author [lucasbhealy](https://wordpress.org/support/users/lucasbhealy/)
 * (@lucasbhealy)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/custom-fields-265/#post-9674246)
 * Working on an update now that will make them available. Keep your eyes peeled.
 *  Plugin Author [lucasbhealy](https://wordpress.org/support/users/lucasbhealy/)
 * (@lucasbhealy)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-265/#post-9749472)
 * A follow up: I’ve released a new version that includes more person, organization,
   and deal fields and allows for the use of custom fields using the WordPress Filter
   system.
 *  [cineemcasa](https://wordpress.org/support/users/cineemcasa/)
 * (@cineemcasa)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-265/#post-9754662)
 * Hey Lucas, thank you for this plugin, really good! Im from Brazil, so sorry for
   my english!
 * I need to use “city” field of pipedrive in “person fields”, have a way?
 * Thank you!
 *  Plugin Author [lucasbhealy](https://wordpress.org/support/users/lucasbhealy/)
 * (@lucasbhealy)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-265/#post-9757055)
 * Reviewing the default person fields I do not see a city field. So I assume you’ve
   added the field, “city,” for persons in your Pipedrive Custom Fields settings.
 * If you go to the frequently asked questions section of this page: [http://www.everythinghealy.com/contact-form-7-pipedrive-integration-wordpress-plugin/](http://www.everythinghealy.com/contact-form-7-pipedrive-integration-wordpress-plugin/).
   You’ll see I mention how to add fields via the WordPress filter system.
 * So your code would look like this:
 *     ```
       add_filter('cf7_pipedrive_person_fields', 'update_fields');
       function update_fields($fields) { 
           $fields['your-custom-field-api-key'] = array( 'api_key' => 'your-custom-field-api-key', 'display_name' => 'Custom Field Display Name'); 
           return $fields;
       }
       ```
   
 * Except replace your-custom-field-api-key with the field api-key and replace “
   custom field display name” with, “city.”
 * This can go in your theme’s functions.php file.
 *  [cineemcasa](https://wordpress.org/support/users/cineemcasa/)
 * (@cineemcasa)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-265/#post-9773438)
 * Thank you for the support! I added the code in functions.php, but the person 
   field dont appear in Pipedrive Integratino. Can you help me again? My code:
 *     ```
       	add_filter('cf7_pipedrive_person_fields', 'update_fields');
       function update_fields($fields) { 
           $fields['3e71e2884da69dda280b8e6f5c0ea00665402d1e'] = array( 'api_key' => '3e71e2884da69dda280b8e6f5c0ea00665402d1e', 'display_name' => 'Cidade'); 
           return $fields;
       }
       ```
   
 *  Plugin Author [lucasbhealy](https://wordpress.org/support/users/lucasbhealy/)
 * (@lucasbhealy)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-265/#post-9780655)
 * That should work. Is Cidade assigned as a custom field for Person in your Pipedrive
   settings?
 *  [cineemcasa](https://wordpress.org/support/users/cineemcasa/)
 * (@cineemcasa)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-265/#post-9780865)
 * Yeah… Look the prints:
 * Have to appear on this page, right? – [https://4.bp.blogspot.com/-SymDZnoiZiE/WjHfS4Koc2I/AAAAAAAAVB8/br20Xc2UfksrWdHW-9pv2n4k3EHPSVF0gCLcBGAs/s1600/Esbo%25C3%25A7o.png](https://4.bp.blogspot.com/-SymDZnoiZiE/WjHfS4Koc2I/AAAAAAAAVB8/br20Xc2UfksrWdHW-9pv2n4k3EHPSVF0gCLcBGAs/s1600/Esbo%25C3%25A7o.png)
 * In pipedrive (Pessoas is person) – [https://4.bp.blogspot.com/-ooySlvGblnA/WjHfaJbFybI/AAAAAAAAVCA/lpt7ifSxaKcp_xm81SWBBhv6cWsqC5awgCLcBGAs/s1600/Esbo%25C3%25A7o2.png](https://4.bp.blogspot.com/-ooySlvGblnA/WjHfaJbFybI/AAAAAAAAVCA/lpt7ifSxaKcp_xm81SWBBhv6cWsqC5awgCLcBGAs/s1600/Esbo%25C3%25A7o2.png)
 * Thank you! 😀
 *  Plugin Author [lucasbhealy](https://wordpress.org/support/users/lucasbhealy/)
 * (@lucasbhealy)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-265/#post-9780879)
 * I’m curious if this is an issue because your using a language other than english.
   I’ll have to look into the issue.
 * I’ve created a possible issue in GitHub: [https://github.com/quesihealy/cf7-pipedrive/issues/9](https://github.com/quesihealy/cf7-pipedrive/issues/9).
 * I’ll get around to it as soon as I have a moment, but it will likely have to 
   wait until after Christmas.
 * Thank you for reporting your issue to me. I hope to have it fixed asap.
 *  [grant512](https://wordpress.org/support/users/grant512/)
 * (@grant512)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/custom-fields-265/#post-9791171)
 * HI Lucas, I also experience the same issue as [@cineemcasa](https://wordpress.org/support/users/cineemcasa/)
 * [@cineemcasa](https://wordpress.org/support/users/cineemcasa/)
 * I creates a custom field in pipedrive > copy the field api, copy the codes in
   function.php and still no field added in the plugin..
 * See image here [https://imgur.com/a/Wdtfp](https://imgur.com/a/Wdtfp)
    Thanks.
    -  This reply was modified 8 years, 5 months ago by [grant512](https://wordpress.org/support/users/grant512/).
 *  [vjmpinheiro](https://wordpress.org/support/users/vjmpinheiro/)
 * (@vjmpinheiro)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/custom-fields-265/#post-9818234)
 * I am trying to put multiple filters an more than one type. So, I have this code:
 *     ```
       }
       add_filter('cf7_pipedrive_deal_fields', 'update_fields');
       function update_fields($fields) {  
           $fields['90466f443dbc1f5ff84ca8b069cb4a0fdf064087'] = array( 'api_key' => '90466f443dbc1f5ff84ca8b069cb4a0fdf064087', 'display_name' => 'Data da consulta');
          return $fields;
           }
   
       add_filter('cf7_pipedrive_person_fields', 'update_fields');
       function update_fields($fields) {
           $fields['a588cb657c7c6bfd224de8a8226cf969c58df494'] = array( 'api_key' => 'a588cb657c7c6bfd224de8a8226cf969c58df494', 'display_name' => 'NIF'); 
           return $fields;
       }
       ```
   
 * But returns with HTML error 500
 * What am I doing whrong? It accepts only one add_filter without error. If I put
   2, it breaks the page.
 * Any idea?
 * Best regards,
    Vitor
 *  [shoutaaaaaaaaaa](https://wordpress.org/support/users/shoutaaaaaaaaaa/)
 * (@shoutaaaaaaaaaa)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-265/#post-9868391)
 * hi,
    i made a PR to use custom fields without coding.
 * [https://github.com/quesihealy/cf7-pipedrive/pull/10](https://github.com/quesihealy/cf7-pipedrive/pull/10)
 * Is there any problems?

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

The topic ‘Custom Fields’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cf7-pipedrive-integration_d0bea0.
   svg)
 * [CF7 Pipedrive Integration](https://wordpress.org/plugins/cf7-pipedrive-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-pipedrive-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-pipedrive-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-pipedrive-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-pipedrive-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-pipedrive-integration/reviews/)

## Tags

 * [add_filter](https://wordpress.org/support/topic-tag/add_filter/)

 * 12 replies
 * 7 participants
 * Last reply from: [shoutaaaaaaaaaa](https://wordpress.org/support/users/shoutaaaaaaaaaa/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-265/#post-9868391)
 * Status: resolved