[Plugin: Posts 2 Posts] Using connected post names to create post title
-
Scribu, or anyone that might be able to help.
I’m struggling to figure out how to use the name of connected posts to update the title of the current post.
Details:
I currently have posts 2 posts connecting 2 custom post types — artists and events.
Each event allows the end user to create a new event and connect artists to it — this works great. I’d now like to remove the title support from the events post type, and automagically create a title on save that uses the connected artists names (and a custom field) as the post title for the event.
I’ve managed to figure out how to update the title with my custom fields, but I can’t figure out how to parse through the connected events and add them as well.
Any help would be super appreciated.
- The topic ‘[Plugin: Posts 2 Posts] Using connected post names to create post title’ is closed to new replies.