Support » Plugins and Hacks » WP Gallery Custom Links » Bulk change of gallery urls – possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor fourlightsweb

    (@fourlightsweb)


    There’s no bulk image import tool or anything, but if you were looking for a way to set custom URLs programatically (ie if you were writing a script/plugin to do some kind of bulk image import), you could use something like the following:

    update_post_meta($post_id_of_uploaded_image, '_gallery_link_url', $some_custom_url);

    and that would add a custom url for each image as it’s added to WordPress through your script that this plugin could pick up and use later.

    Thanks alot, but I’m afraid I’m not yet at the stage of writing plugins, in fact I would have no idea how to institute this at all. But if I ever learn, I’ll come back to this as a reference.

    Thanks again.

    Andy (:

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bulk change of gallery urls – possible?’ is closed to new replies.