I am using a content management plugin that lets you create posts and assign them related categories.
My issue is that if I create a post that is relevant to two categories then the realted categories are stored in an array style e.g.
If I then am on a product and want to pull in posts related to this category I use an ->addAttributeToFilter(); on my collection as below:
$catid = 5 ->addAttributeToFilter('linked_categories', $catid);
But obviously the "linked_categories" array is 3,5 so my variable doesn't match!
How can I say "If the linked_categories array contains my $catid"?