Broadcasting to incorrect category
-
A few times now we’ve broadcasted a post and it’s appeared in the wrong category on the target blog. I believe this is because it sets categories by category ID when a post is broadcasted. The problem occurs when the categories on the various blogs become out of sync. I’ll give an example.
Blog Foo has the following categories:
ID 1: Cat 1
ID 2: Cat 2
ID 3: Cat 3Blog Bar has the following categories:
ID 1: Cat 1
ID 2: Cat 3
ID 3: Cat 4
ID 4: Cat 2When I broadcast a post from Foo to Bar with Cat 1 selected, things will work well. When I broadcast a post from Foo to Bar with Cat 2 selected, Cat 3 will be selected in the broadcasted post on Bar blog.
Solution:
I’m not sure the best solution for this. I would suggest initially trying to match by ID the way you do now, however if the category names don’t match up – look for a matching category by name and attach to that instead.
The topic ‘Broadcasting to incorrect category’ is closed to new replies.