[WordPress] 外掛分享: Reorder Entry Images

WordPress 外掛 Reorder Entry Images 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Reorder Entry Images」是 2013-07-16 上架。
  • 目前有 200 個安裝啟用數。
  • 上一次更新是 2017-03-20,距離現在已有 2966 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.4 以上版本才可以安裝。
  • 有 6 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

vayu |

外掛標籤

sort | entry | images | reorder | attachments |

內容簡介

此外掛可以幫助您手動重新排序或排序貼文、自訂貼文類型或網頁所附加的圖片。安裝並啟用後,您可以選擇要在哪個貼文類型或網頁使用此功能。該特定貼文或網頁所附加的所有圖片將會列在管理員的貼文編輯頁面上。然後,您可以拖放圖片以您想要的方式進行排序。

這將僅影響上傳到特定貼文或網頁中的圖片。

使用此短代碼將圖片插入到貼文/頁面中:[list_attached_images]
以下是一些參數:

圖像大小:如縮略圖、中型、大型
圖像數量:如-1、0、5
圖像連結:連結到圖像文件- 假/真
排序:如desc、asc
清單樣式:使用您自己的樣式

示例:
[list_attached_images imagesize=”large” numberimages=”3″ imagelink=”true” order=”asc” listclass=”my-images”]

以下是可以幫助您在主題中顯示圖片的 PHP 代碼:

$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;

網站

Reorder entry images

原文外掛簡介

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

Reorder entry images

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Reorder Entry Images」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.0.5 | 1.0.6 | 1.0.7 | 1.0.8 | trunk |

延伸相關外掛(你可能也想知道)

  • Rearrange Woocommerce Products 》重新排列Woocommerce產品( Rearrange Woocommerce Products)是一款WordPress外掛,可以讓您重新排列/重新排序Woocommerce商店頁面上產品的默認排序順序,也可...。
  • Filter & Grids 》使用 AJAX 篩選自定義分類 / 分類標籤來篩選文章或自定義文章類型,無需重新載入頁面,並支持不同的分頁類型。這款外掛允許解決顯示網站頁面上的文章的各種任...。
  • More Sorting Options for WooCommerce 》此外掛可擴充 WooCommerce,新增多種自訂排序選項:, , 商品名稱:A 至 Z, 商品名稱:Z 至 A, 代碼:A 至 Z, 代碼:Z 至 A, SKU:遞增, SKU:遞減, 庫存數量...。
  • Terms Order WP – Categories And Taxonomies Order Plugin 》這個外掛可以幫助你排序或重新排序預設網誌類別和自訂文章型別的分類法和術語,外掛準備好使用,不需要進行任何配置。使用者友善的介面可以讓你輕鬆完成任務...。
  • I Order Terms 》這款外掛可以用於對類別、標籤和自訂分類進行排序。此外掛主要是為了協助佈景主題開發人員。, 此外掛支援多站點安裝。, 需求, 最低需求是您必須至少安裝 Word...。
  • WP Post Sorting 》這個外掛可讓您以升序或降序方式,按帖子標題或帖子日期,對每個類別進行自定義排序。。
  • Archive Posts Sort Customize 》本外掛可輕鬆設置首頁、日期文章存檔、分類/標籤/分類法文章存檔和搜尋區的介面和可用排序。, 排序項目, , 文章日期, 文章標題, 文章作者, 文章評論數, 文章 ...。
  • WHWS Display In Stock Products First For WooCommerce 》使用這個方便的小外掛程式,可在 WooCommerce 商店中變更預設排序與顯示,並優先顯示有庫存的商品。。
  • Product Rearrange for WooCommerce 》Product Rearrange for WooCommerce 是一個外掛,它可以讓您在後台使用直觀的拖曳排序方式最強大地重新排列 WooCommerce 產品。這個外掛將盡可能保存排序順序...。
  • Multiple Post Type Order 》此外掛可協助您為文章類型或自訂文章類型生成多個重新排序介面,以符合您的自訂開發需求。藉由自訂排序功能,爬蟲可更快速且容易地生成相同文章類型及個別文...。
  • Default Sort Ascend 》WordPress 預設的查詢排序方式是降序。這會按照時間反向排序,大多數博客都需要這樣的結果。, 但有時候,我們需要升序排列文章。啟用此外掛後,將預設排序從...。
  • Custom Taxonomy Sort 》令人驚訝的是,WordPress 不提供自定義排序分類法的機制。分類法只能以名稱或 id 排序,無法自定義。Custom Taxonomy Sort 讓普通用戶有機會定義並顯示特定順...。
  • bbPress – Sort topic replies 》此外掛可設定每個 bbPress 主題的回覆,以遞增或遞減的順序進行排序。您可以選擇每個主題的設定、整個論壇的設定,或是全域設定。, 功能, , 排序回覆, 顯示每...。
  • Gallery Styles 》這個外掛可以為 WordPress 的相片庫添加額外的樣式。, 功能, , 添加動畫的內部線條, 添加交叉懸停效果, 可選擇前景、背景和線條顏色, 可選擇濾鏡、二色調、乘...。
  • WP Social Blogroll 》WP Social Blogroll 是一個 WordPress 外掛,可在你的部落格上新增一個社交書籤條。它會追蹤並顯示在書籤條中的網站更新。更多詳情,請參閱外掛頁面或作者頁...。

文章
Filter
Apply Filters
Mastodon