WordPress.org

Support

Support » Plugins and Hacks » Broadcasting to incorrect category

Broadcasting to incorrect category

  • flynsarmy
    Member

    @flynsarmy

    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 3

    Blog Bar has the following categories:
    ID 1: Cat 1
    ID 2: Cat 3
    ID 3: Cat 4
    ID 4: Cat 2

    When 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.

    https://wordpress.org/plugins/threewp-broadcast/

Viewing 1 replies (of 1 total)
  • Plugin Author edward_plainview
    Participant

    @edward_plainview

    This I’ll have to have a look at, although I’m pretty sure that it syncs using category slugs, not IDs.

Viewing 1 replies (of 1 total)
  • The topic ‘Broadcasting to incorrect category’ is closed to new replies.