• Hi thanks for this great plugin,

    i use this plugin to broadcast products across sites, one being a dutch site and one being a belgium site.
    Now these products are identical, i want google to know that i also have a french translation of them in the belgium site.

    Is it possible to hook into your code somewhere so i can add rel=alternate lang=be_FR to the products being serverd on the dutch site?
    SO actually this:
    – hook into your code
    – check if its a broadcasted item
    – get the permalink of the original item
    – save this permalink in the rel=alternate tag

    and ofcourse in the belgium/french edition i want to do the same, but then in reverse.

    Thanks in advance

    Greetings,
    Joep

    https://ww.wp.xz.cn/plugins/threewp-broadcast/

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

    (@edward_plainview)

    Shouldn’t be a problem.

    $bc = \threewp_broadcast\ThreeWP_Broadcast::instance();
    $bc->get_post_broadcast_data( $blog_id, $post_id )

    is the method you’re looking for.

Viewing 1 replies (of 1 total)

The topic ‘Rel alternate possible?’ is closed to new replies.