Answers.Body: <p>You might try the display_name short code (assuming it exists as I do not use WP mysqlf)? You can control the way the display name is built in Administer>Customize Data and Screens>Display Preferences.</p>
  
  <p>Alternatively you can set customized addressees for your contacts? That is a lot of work if you have to do it manually but you could also create a scheduleld job to do this with the API if you have any development skills available?</p>
  
  <p>If you want to make sure the prefix is not in the display name you change the settings for display name. Standard they will probably be:</p>
  
  <pre><code>{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}
  </code></pre>
  
  <p>Change into</p>
  
  <pre><code>{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-17T21:38:56.263Z
Answers.Text: Thank you.   This is the current short code there {contact.individual_prefix}{ }  Is it safe to turn that into {contact.individual}{ } ?   Or should I just uncheck Prefix under Edition Contacts?  Not sure that is even related.
Answers.UserDisplayName: fdarn
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-18T06:32:12.567Z
Answers.Text: I would not expect that short code change to be OK but I do not know WP. What are you trying to do now? Not sure why you are taking the prefix?
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-18T15:31:55.150Z
Answers.Text: If you are not sure why I need to remove the prefix, I must not had been clear in my original post.
Answers.UserDisplayName: fdarn
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-18T18:26:56.503Z
Answers.Text: I see what you mean now, see updated answer
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-18T19:49:57.787Z
Answers.Text: Erk - should your answer point out this will impact everywhere the Display Name is used, not just for the Event Badge?
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-18T22:09:12.093Z
Answers.Text: Thank you. I think that will work.  It might change everything, but I can't think of anything it would hurt. As long as we can still select Prefix in our exports, we are good.
Answers.UserDisplayName: fdarn
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-18T23:48:35.433Z
Answers.Text: sorry. I have to take that back. It's still not working.  It did remove the prefix from the template preview, but when I went to print the fulllist, the prefix is back.   I honestly can't see what that change did.
Answers.UserDisplayName: fdarn
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-19T13:12:50.907Z
Answers.Text: The change will probably not reflect any existing contacts in your database. I am not sure if the Update Greetings and Addresses scheduled job also re-creates the display_names. Could you try that?
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-19T13:14:27.147Z
Answers.Text: And what the change did: describe the way the display names will be built up FROM NOW ON. It does not automatically fix the past AFAIK. If the scheduled job does not do that, you either need a developed fix for that or edit/save the contacts AFAIK.
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-17T06:58:30.980Z
Answers.LastActivityDate: 2018-04-18T18:28:28.323Z
Answers.LastEditDate: 2018-04-18T18:28:28.323Z
Answers.UserDisplayName: ErikH - CiviCooP
Body: <p>We are on Civi 4.7.29 and Wordpress 4.9.5</p>
  
  <p>We are making badges for the upcoming conference.  We need just the First and Last name to show up on the same line, such as: John Doe.  However, when we select to use the Addressee short code, it shows up as Mr. John Doe.   We really don't want the Mr. part in there as many of our members did not choose a prefix when they signed up and that will look wrong.<br>
  If we choose to use the First and Last name shortcodes separately , we get:</p>
  
  <p>John</p>
  
  <p>Doe</p>
  
  <p>That won't work either.  Is there a way we can remove the Prefix from the Addressee shortcode?</p>
  
  <p>Thank you</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-16T00:23:05.253Z
Comments.Text: Can you clarify - you say ~ "we need it to show as John Doe", then say "we get John Doe but that won't work"
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-16T14:04:20.893Z
Comments.Text: It must be on the same line. If we select first name and last name, they appear one over the other on two lines. Thank you
Comments.UserDisplayName: fdarn
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-16T20:31:02.680Z
Comments.Text: What does Display Name token give you?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-16T20:32:05.910Z
Comments.Text: ps - can you give a link where you edit these badges? never had to do it so am playing blind which may be why my answers aren't v helpful yet
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-17T21:33:46.677Z
Comments.Text: This is my first time using them too.  I am going to Administrator> CiviEvents> Event Name Badge Layouts.  Display Name is the one with the Prefix.
Comments.UserDisplayName: fdarn
Tags: <civievent><addresses>
Title: Remove Prefix from Addressee
ThreadText: # Remove Prefix from Addressee
  
  (Asked by: username_0 on 2018-04-15)
  
  We are on Civi 4.7.29 and Wordpress 4.9.5
  
  We are making badges for the upcoming conference. We need just the First and Last name to show up on the same line, such as: John Doe. However, when we select to use the Addressee short code, it shows up as Mr. John Doe. We really don't want the Mr. part in there as many of our members did not choose a prefix when they signed up and that will look wrong.  
  If we choose to use the First and Last name shortcodes separately , we get:
  
  John
  
  Doe
  
  That won't work either. Is there a way we can remove the Prefix from the Addressee shortcode?
  
  Thank you
  
  **Tags:** civievent, addresses
  
  > **Comments:**
  > **username_1**: Can you clarify - you say ~ "we need it to show as John Doe", then say "we get John Doe but that won't work"  
  > **username_0**: It must be on the same line. If we select first name and last name, they appear one over the other on two lines. Thank you  
  > **username_1**: What does Display Name token give you?  
  > **username_1**: ps - can you give a link where you edit these badges? never had to do it so am playing blind which may be why my answers aren't v helpful yet  
  > **username_0**: This is my first time using them too.  I am going to Administrator> CiviEvents> Event Name Badge Layouts.  Display Name is the one with the Prefix.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-04-17. Score: 4
  
  You might try the display_name short code (assuming it exists as I do not use WP mysqlf)? You can control the way the display name is built in Administer>Customize Data and Screens>Display Preferences.
  Alternatively you can set customized addressees for your contacts? That is a lot of work if you have to do it manually but you could also create a scheduleld job to do this with the API if you have any development skills available?
  If you want to make sure the prefix is not in the display name you change the settings for display name. Standard they will probably be:
  {contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}
  
  Change into
  {contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}
  
  > **Comments:**
  > **username_0**: Thank you.   This is the current short code there {contact.individual_prefix}{ }  Is it safe to turn that into {contact.individual}{ } ?   Or should I just uncheck Prefix under Edition Contacts?  Not sure that is even related.  
  > **username_2**: I would not expect that short code change to be OK but I do not know WP. What are you trying to do now? Not sure why you are taking the prefix?  
  > **username_0**: If you are not sure why I need to remove the prefix, I must not had been clear in my original post.  
  > **username_2**: I see what you mean now, see updated answer  
  > **username_1**: Erk - should your answer point out this will impact everywhere the Display Name is used, not just for the Event Badge?  
  > **username_0**: Thank you. I think that will work.  It might change everything, but I can't think of anything it would hurt. As long as we can still select Prefix in our exports, we are good.  
  > **username_0**: sorry. I have to take that back. It's still not working.  It did remove the prefix from the template preview, but when I went to print the fulllist, the prefix is back.   I honestly can't see what that change did.  
  > **username_2**: The change will probably not reflect any existing contacts in your database. I am not sure if the Update Greetings and Addresses scheduled job also re-creates the display_names. Could you try that?  
  > **username_2**: And what the change did: describe the way the display names will be built up FROM NOW ON. It does not automatically fix the past AFAIK. If the scheduled job does not do that, you either need a developed fix for that or edit/save the contacts AFAIK.  
  
  ---
  
  