Hi keesiemeijer greetings 4m India, last time u helped me a lot.
For eg: I have a custom post type ‘cars’ and taxonomy related to it ‘brands’ that has terms A , B , C , D , E.
Now post one has A, C, D, E terms attached to it.
And post two has A, C, D attached to it.
There are 3 terms common in both posts i.e A, C, D.
In related posts I want to display number of common terms/ total terms for post one i.e 3/4 and display names of those common terms i.e A, C, D.
Final result should look like this:
Post one title – 3/4 brands Common – A, C, D.
- The topic ‘Count/Display common and total terms b/w two posts’ is closed to new replies.