Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author John Havlik

    (@mtekk)

    The Root Page setting for custom post types is an extension beyond the functionality that WordPress natively provides. Thus it may not interact as expected with other plugins (e.g. other plugins do not know about it). Right now, the only multilingual plugin I support is WPML through the Breadcrumb NavXT WPML Extensions plugin. I have not looked at the Polylang plugin yet, but I’m sure it needs its own extension plugin.

    Eli Lev

    (@bluerabbit)

    It seems like the solution is very simple.

    How can i add this to the plugin without editing the source code?

    Plugin Author John Havlik

    (@mtekk)

    It appears Polylang ships with a WPML compatibility wrapper (icl_object_id() is a WPML function). Thus, Breadcrumb NavXT WPML Extensions will get you going. Though, there is no guarantee it will be a good long term solution as Polylang may not always include that compatibility wrapper. In fact, my plan is to get a Polylang specific extension plugin released before the end of January 2016.

    Eli Lev

    (@bluerabbit)

    Thank you for your answer.
    There is no way to add those lines with a Hook of a Filter?

    Plugin Author John Havlik

    (@mtekk)

    There is, but that is part of what said extension does.

    Hi John,

    Did you release a plugin for Polylang already?

    Best regards,

    Kurt

    Plugin Author John Havlik

    (@mtekk)

    I haven’t had a chance to write it yet, however it is on my TODO list for this week.

    Plugin Author John Havlik

    (@mtekk)

    FYI: The extension plugin is now available. It took more work than I had hoped due to how Polylang does things. Not that it does things incorrectly. However, it is sufficiently different that even with the WPML API compatibility the WPML Extensions plugin for Breadcrumb NavXT didn’t actually work correctly (so it wasn’t a straight translation of API calls).

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Custom post types parent & Polylang’ is closed to new replies.