WordPress.org

Ready to get started?Download WordPress

Forums

ThreeWP Broadcast
Broadcasting to incorrect category (2 posts)

  1. flynsarmy
    Member
    Posted 5 months ago #

    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/

  2. edward_plainview
    Member
    Plugin Author

    Posted 5 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.