CMB2 / CMB2-Post-Search-field

Custom field for CMB2 which adds a post-search dialog for searching/attaching other post IDs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Distinguishing two post with the same title

Julianoe opened this issue · comments

As i used this little module to add a post selector in a multi-lingual website, i came accross this problem : when selecting the post it is impossible to distinguish two posts if they have the same name.

I wonder how it would be possible to add a column along with Title, Type, Date and Status that provides the slug of the post (which are unique) ?

Example : This way it would be possible to know if it is My Page (example.com/mypage) or My Page (example.com/en/my-page)

This plugin uses core functionality, so there is no way to do what you're asking without replacing the Ajax callback function (found here).