Hey guys,
I'm wondering if it's possible to make the intermidiate relathionship post generate it's name and URL slug based on the two posts it connects. For example right now it just sets the name of the post type and what I assume are the two post ids as the url: integrations-4412-4430/.
I'd like it to look more like integrations-docusign-infusionsoft/
Video explaining: hidden link
Hello,
I assume you are going to setup the intermediary post title and slug automatically.
If it is, there isn't such a built-in feature within Toolset Types plugin, but you can edit those intermediary posts, setup the post title and slug manually.
If you are familiar with PHP codes, you can try with custom codes, for example, when you relate a post with another post with many-to-many relationship, use wordpress action hook save_post to trigger a PHP function:
https://codex.wordpress.org/Plugin_API/Action_Reference/save_post
In this PHP function, get related other two posts:
https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/#toolset_get_related_post
Then update the intermediary post title and slug as what you want:
https://codex.wordpress.org/Function_Reference/wp_update_post