Reorder Entry Images
Get all the attachments (images only) that belong to a post/page/post-type and display them in a list. This list can be reordered by drag and drop.
The facts
- Rating
- 4.8★ from 6
- Active installs
- 100+
- Price
- Free
- Last updated
- 20 Mar 2017
- Added
- Jul 2013
- Requires WP
- 3.4
- Tested up to
- WP 4.7.35
- Downloads
- 12,627
Our analysis
AI-assistedReorder Entry Images is a WordPress plugin that allows you to manually reorder images attached to posts, custom post types, or pages. Once activated, it provides a drag-and-drop interface on the post-edit page for arranging images in your preferred order.
This plugin is suitable for users who want more control over the display order of images in their content. It supports shortcode functionality to insert images with various parameters, such as size and link options.
Best for: This plugin is best for WordPress users who need to organise images for their posts or pages.
What it does well
- ✓Allows manual reordering of attached images
- ✓Drag-and-drop interface for ease of use
- ✓Shortcode support for custom image display
Where it falls short
- •Limited to reordering images for specific posts or pages
- •Last updated in March 2017, may not be compatible with newer WordPress versions
Verdict
Reorder Entry Images provides a straightforward solution for managing image order, but its age and limited update history may be a concern for some users.
From the developer
Vayu Robins's own description of Reorder Entry Images, lightly tidied.
This plugin will help you manually reorder or sort the images attached to your post, custom post type or page. Once installed and activated you can choose which post type or page you want this functionality on. All the images attached to that specific post or page will then be listed on the post-edit page in the admin. You will then be able to drag & drop the images in the order you want them to be listed.
This will only affect those images uploaded to the specific post or page.
Insert images into post/page with this shortcode: [list_attached_images]
Her are some parameters
- imagesize: ie. thumbnail, medium, large
- numberimages: ie. -1, 0, 5
- imagelink: link to the image file – false/true
- order: ie. desc, asc
- listclass: use your own class
Example:
[list_attached_images imagesize=”large” numberimages=”3″ imagelink=”true” order=”asc” listclass=”my-images”]
Here is the php code that will help you display the images in your theme:
$thumb_id = get_post_thumbnail_id( get_the_ID() );
$args = array(
'post_type' => 'attachment',
'post_mime_type' => 'image/jpeg',
'orderby' => 'menu_order',
'numberposts' => -1,
'order' => 'ASC',
'post_parent' => get_the_ID(),
'exclude' => $thumb_id // Exclude featured thumbnail
);
$attachments = get_posts($args);
if ( $attachments ) :
foreach ( $attachments as $attachment ) :
echo wp_get_attachment_image( $attachment->ID, 'full' );
endforeach;
endif;
Website
http://vayu.dk/reorder-entry-images/