• Hey.

    I’m populating my website (3 languages) with posts arranged in a masonry (custom post type), but there are some posts that are language-agnostic (mostly images, videos and such).

    However, I can only see the Categories assigned to that language.

    Is there a way to indicate that a particular post should be retrieved regardless of language, or some way to allow me to pick all three Categories? Or will I have to maintain identical content copies for each post that needs to show up in all languages?

    A solution that displays all categories for a particular post-type would be acceptable, but from other similar topics I gather that it likely wouldn’t work (since the post, despite being in the correct Category, would still be the incorrect language).

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi!

    Perhaps this helps:
    https://polylang.pro/doc/developpers-how-to/

    Rgds
    Laser

    andreyostr

    (@andreyostr)

    @ellmanncreative could you find the solution?

    Thread Starter ellmann creative

    (@ellmanncreative)

    @andreyostr unfortunately it looks like Polylang doesn’t see a “middle ground” here. Your post (or category, or taxonomy, or…) either is managed by Polylang and has a language set, or isn’t managed by Polylang and doesn’t have a language set. There’s no middle ground where you can have most of the posts managed, but have a subset unmanaged. It’s either/or, and from what I can tell (at least in the free version of the plugin), there’s no way to exempt specific post types from Polylang management.

    The only solution I currently see (without going really deep into it) would be to write a plugin providing a shortcode that ignores Polylang (and most of WP, since the filters in play would affect it) entirely, fetches the required components from the database, and proceeds to display whatever content you enforce. This plugin would likely need to reinvent a lot of automation however, since all of the existing WP automation would be subject to Polylang’s filtering.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display a particular post in all/multiple languages’ is closed to new replies.