I’d like to know how I could modify post titles depending on the connection they have.
For example, I am using these connections for TV Shows and episodes.
So whenever I want to create a post for an episode, I’d like for it to automatically generate the post title of the episode using the TV Show that it is connected to. Since it’ll only connect to one TV Show, it shouldn’t be that hard to know which TV Show title it needs to grab.
How can I get this to work? I’ve looked into wp_update_post function, and it seems like that may be the way to go, I just need to know how I can retrieve the title of the post that the post that’s being created is connected to. Any help would be great!
- The topic ‘Connection Titles embedded into post titles’ is closed to new replies.