• Resolved cybup

    (@cybup)


    Hello,

    Having the same Featured Image for all translated pages/posts as the original page/post make sense and ease the translation process however in some cases it would be useful to allow changing the feature image per translated page/post.

    It would be great if the plugin’s creator might consider adding it in the future.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter cybup

    (@cybup)

    Thanks for the prompt response Chouby!

    I do see that this suggested filter allows to have different media files per post language (via Edit Post -> Media -> Gallery) however when I choose the relevant media file to be the ‘Featured Image’ for specific post (via Edit Post -> Choose Featured Image) it also changes the featured image of the corresponding posts in other languages.

    I just verified it using WP 3.3.1 and Polylang 0.7pre14.

    Obviously there is a bug ! You are the third to ask and the first to test… Here is the quick fix to be able to use the feature before the next release.

    Edit the file include/admin-filters.php at line 417 in v0.7 and replace:

    $metas = apply_filters('pll_copy_metas', array('_wp_page_template', '_thumbnail_id'));

    by:

    $metas = apply_filters('pll_copy_post_metas', array('_wp_page_template', '_thumbnail_id'));

    Thread Starter cybup

    (@cybup)

    Works perfect now Chouby. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Polylang] – allow different Featured Image in translated page/post’ is closed to new replies.