Answers.Body: <p>If you're talking about the contact basic and advanced search results, you can add the field to a profile and set that to be used at <code>Administer &gt; Customise Data and Screens &gt; Search Preferences &gt; Default Contact Search Profiles</code></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-10-09T09:22:14.070Z
Answers.LastActivityDate: 2023-10-09T09:22:14.070Z
Answers.UserDisplayName: Aidan
Body: <p>I've created a custom field that saves <strong>&quot;Registration&quot;</strong> in a contact type in CiviCRM. I would like to display this custom field in a new column in the search results.
  Installing in WordPress allows me to modify the plugin file, but I have had some errors when trying to add the code snippet.</p>
  <pre><code>$headers['summary'] = array('name' =&gt;
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-10-04T22:53:51.483Z
Comments.Text: Have you tried SearchKit?
Comments.UserDisplayName: Coleman
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-10-04T23:06:32.187Z
Comments.Text: It's just one field that I need to add to the traditional search. If you use SearchKit, you will have to create a complete new search interface.
Comments.UserDisplayName: Suri Gang's Hallen
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-10-09T09:22:10.380Z
Comments.Text: Depends what search you want to replace, but in many cases it's not hard to replace with SK and it's the direction all searches are going.
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-10-10T19:16:05.660Z
Comments.Text: curious - what is the 'registration' that you are recording? wondering if there is a more standard way of doing what you are doing
Comments.UserDisplayName: petednz - fuzion
Tags: <wordpress><profile><civicrm.settings.php><admin>
Title: Add new custom field column
ThreadText: # Add new custom field column
  
  (Asked by: username_0 on 2023-10-04)
  
  I've created a custom field that saves **"Registration"** in a contact type in CiviCRM. I would like to display this custom field in a new column in the search results.
  Installing in WordPress allows me to modify the plugin file, but I have had some errors when trying to add the code snippet.
  
  ```
  $headers['summary'] = array('name' =>
  
  ```
  
  **Tags:** wordpress, profile, civicrm.settings.php, admin
  
  > **Comments:**
  > **username_1**: Have you tried SearchKit?  
  > **username_0**: It's just one field that I need to add to the traditional search. If you use SearchKit, you will have to create a complete new search interface.  
  > **username_2**: Depends what search you want to replace, but in many cases it's not hard to replace with SK and it's the direction all searches are going.  
  > **username_3**: curious - what is the 'registration' that you are recording? wondering if there is a more standard way of doing what you are doing  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2023-10-09. Score: 4
  
  If you're talking about the contact basic and advanced search results, you can add the field to a profile and set that to be used at `Administer > Customise Data and Screens > Search Preferences > Default Contact Search Profiles`
  
  
  ---
  
  