WordPress.org

Forums

Polylang
How to copy galleries? (4 posts)

  1. didr
    Member
    Posted 1 year ago #

    In your excellent plugin I don't see no simple possibility to take over the images of the original post. To upload them again and again is ugly. It would be sufficient to have a copy of the image attachments for creating the description translation. Is that on your roadmap and if, when will you release it? Otherwise I have to write a copy plugin for it. This would'nt be ugly but clumsy and boring.
    didr

    http://wordpress.org/extend/plugins/polylang/

  2. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    It it not on my current roadmap, but I do believe it is a good idea ! For sure, it will not be in the v0.4 currently under preparation but I will keep it in mind. Thank you for the suggestion.

  3. onix20
    Member
    Posted 1 year ago #

    Hi! Does something change with that problem?

  4. gianpaolo73
    Member
    Posted 1 year ago #

    Hello everybody.
    I think to have found a simple solution for this problem using wordpress shortcode.

    1- create your gallery post/page in the default Polylang language and insert into it the media you want. Create the gallery and obtain the gallery shortcode (typically like this: [gallery]).

    2- save your post/page and then go to the language box (on the top-right) and click on "add new" just right the other language you want to copy your post. This will open a new post/page creating form. Now you can see on language box the original ID of the previous post you have inserted your gallery; copy it.

    3- put inside the post (in HTML view) the following shortcode: [gallery id="DEFAULT_POST_ID"], where DEFAULT_POST_ID is the ID you copied from the original post wherein the gallery is.

    4- save and repeat for the other languages you need the post/page copied in.

    This is the WordPress common method for copying a gallery from a post to another. I just used it inside our preferred language plugin.

    Thank you Chouby for this useful plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags