Wouldn’t it be better to have the users fill out the title field and use it as the client name? Woothemes’ testimonials plugin does this. If that’s not an option, you can look into adding a filter on title_save_pre. Haven’t used it myself but here are examples:
- From StackExchange: Title_save_pre – Simple problem that u know for sure
- From WP Support Forums: Generating and setting a custom post title
Related Posts:
- Getting custom taxonomy from custom post type
- Media library – Limit images to custom post type
- Filter next_post_link() and previous_post_link() by meta_key?
- Automatically fill custom field value on post publish/update
- Make permalinks based on an ACF-field
- List events by month
- Use Custom Post Type as Custom Field
- Query by 2 values of a repeater ACF field
- Show ACF field from custom taxonomy and display on the single template
- Display posts if a custom field value is equal to another custom field value
- Get Custom Field Values by Another Custom Field in WordPress
- Show custom field from custom taxanomy term on custom post type
- How to create an array for a CPT post ID to use in an IF/WHILE statement
- Custom Post type with ACF in REST API, how do I get those values?
- Custom Post Types not showing, custom WP_Query
- Rewrite WordPress URL to show CPT meta field data
- Create 3 Level Relations with ACF and WordPress
- How to: Display ACF [fields] on Custom Post Types Utilising WordPress ‘Hooks’? [closed]
- Retrieve value of a category’s custom field
- WP_Query to select custom post type with Advanced Custom Fields (ACF) date
- Bulk Update Custom Fields for Custom Post Types
- Cluster CPT posts to users based on ACF value from their profile on dashboard
- ACF Values Don’t Show After Import Unless I Edit/Update Post
- Stuck in Order by more then one
- Using advanced custom fields from one custom post type in another custom post type / using nested shortcodes
- Query Custom Post Type Taxonomy term with multiple parameters
- Custom fields (wp_post_meta) vs Custom Table for large amount of data
- How to group posts and get a mixed posts and groups view?
- Custom Post Types vs. Advanced Custom Fields (with Repeater Field add-on)
- Integrate Custom Post Type Events into Calendar
- Displaying custom field according to date
- Advanced custom field boolean value in custom post type
- Why would social icon badges disappear after adding a custom post type?
- Sort a custom post with ACF: Date Picker & Display Featured!
- ACF repeater field usage
- Postname on unique permalink structure appends “-2” for a custom post type. How can I get this to stop happening?
- Custome fields not displayed
- Create short URL with auto 301 redirect
- Batch Extract Date from post title and put into ACF custom field
- Why is wp api returning old acf values?
- get custom post type value in header.php [closed]
- How do I get_the_postID() for a custom post that uses ACF repeater field?
- Group by custom field value (start and end times)
- Custom post types, disable fields
- ACF Relationship Posts how to show additional content
- wp-includes does not contain a feed template
- Excerpt length: get first paragraph
- How can i show ACF in post excerpts
- count & sum the value of custom field of the author post in dynamic posts
- Grouping custom wordpress post types by acf value
- Set Post Private if no linked Post Objects (ACF)
- Show in an entry a Custom Post Type associated to a post
- Orderby custom fields is not working
- Custom post ID & display information related to this ID
- Display a Custom Post Type with Advanced Custom Fields on Homepage
- Filter result of Custom Post Type using meta_query with ACF
- How to display posts with plugin (advanced custom fields) field groups?
- WordPress – display relationship between blog posts and custom posts
- Same custom post type with different ACF
- Custom sorting in post columns by ACF Pro Select Field
- Load info from customposttype into template page
- Subpages URLs for Custom Post Type
- Custom post type not pulling CSS
- Button link display in shortcodes using custom field in ACF
- ACF meta_key and meta_value break loop
- search results to show individual ACF fields from inside custom posts
- Videos Post Type with Custom Filters
- How to show link to product in custom fields?
- How to hide sub fields in a field group and also the entire field group if the answer selected is “no”
- In the admin, how can you list thumbnails instead of titles for a custom post type?
- Use output of wp_dropdown_categories($args)
- Looping through image object using ACF and CPT UI [SOLVED]
- Values show up in custom home page but not in custom post pages
- Display related post content and custom field content
- WordPress page not showing up – replaced with last 10 posts?
- Custom permalink rewrite rules – how do I fix this?
- Best way to have one product in both rental and sale parent category
- How do I display specific custom posts, and how do I edit a post’s singular page?
- Showing custom post user wise with different color in wordpress
- Submit and edit font end custom post type
- How to make a custom search template for custom taxonomy?
- How to load custom post type plugin after acf options page (or get settings from there another way)?
- Filter Content on all Post Types
- Advanced Custom Fields – Add Field to Specific Page [closed]
- $post breaking container loop
- Collection of fields in a single post
- Modifying and Displaying URL’s in a Post Template using parse_url
- WooCommerce – Complete Order when an action occurs
- WordPress Loop trouble with ACF [closed]
- using a template for more then 1 page
- Retrieve a post with its ACF repeater fields in wordpress
- Filter page ID outside the loop and order
- Custom taxonomy meta fields
- Custom Sort Order for Custom Post Type Taxonomy
- Display custom post type attached media file sizes
- WordPress post objects in one parent post object
- Meta query with ACF relationship field
- Code output help please! WordPress> ACF > Relationship > Post Object
- WordPress duplicating posts from single loop
- Custom fields disappearing when a custom post type is assigned