Αυτό το πρόσθετο δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress. Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας με τις πιο πρόσφατες εκδόσεις του WordPress.

Multi Image Upload

Περιγραφή

This plugin adds a meta box to upload multiple images for posts and pages. You can enable it for custom post types also, please see installation instructions.

miu_get_images()

This function can be called from any template file to get attached images for the page/post being viewed.
It returns an array of the attached image URL.

It take only one argument:

  1. post_id (integer) to get images linked to a specific post

    http://www.example.com/image-1.png
    [1] => http://www.example.com/image-2.png
    )

    ?>

Στιγμιότυπα

  • screenshot-1.png

Εγκατάσταση

  1. Upload plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. To retrieve linked images Use miu_get_images() into the loop to get an array of image URLs
  4. Optional

If you need to enable this meta box for your custom post type for example ‘book’. Just edit the multi-image-upload.php as shown below

Replace:
$this->post_types = array(‘post’, ‘page’);
With:
$this->post_types = array(‘post’, ‘page’, ‘book’);

Συχνές Ερωτήσεις

Why should I use this plugin?

Use this plugin if you want to quickly add a feature to upload multiple images for a page, post or custom post type.

Κριτικές

20 Ιουλίου 2017 1 απάντηση
Plugin was superb and cleanly written code. Finally got the exact same thing , I was fed up because searching the net for getting the functionality like this. Good job Developers!!!
Ανάγνωση όλων των 7 κριτικών

Συνεισφέροντες & Προγραμματιστές

“Multi Image Upload” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές

Σύνοψη αλλαγών

2.0

  • Old tb_show method replace with latest Media plugin
  • Image thumbnail updates as soon as you chose image
  • Links added on image thumbails that open the image in new tab
  • JQuery .live() replace with .on()

1.2

  • Compatibility issues with latest WP version fixed.
  • Image thumbnails displayed in admin meta box.

1.1

  • Bug fixes

1.0

  • First stable release.