內容簡介
HTML 置標簡化列表
```html
<ul>
<li>將相片組織在資料夾中,選擇路徑,使用任何相簿短碼來顯示這些相片。</li>
<li>如何做:
<ul>
<li>將相片組織在資料夾中。將每個相簿的相片存放在 WordPress 上傳目錄中的子目錄中。您可以使用外掛程式來執行此操作。</li>
<li>將這些相片匯入媒體庫。也許您的外掛程式也有此功能。</li>
<li>我使用 Bulk Media Register 將這些相片匯入媒體庫,這些相片我之前透過 sftp 上傳。</li>
<li>使用預設的 'gallery' 短碼,或安裝外掛程式來顯示來自媒體庫的相片,例如 Photonic Gallery & Lightbox for Flickr, SmugMug & Others。</li>
<li>在管理後台設定此短碼的名稱(默認 'gallery')和列表選項(默認 'ids')。</li>
<li>像平常一樣撰寫您的短碼,省略列表選項,使用一個額外選項 'path'。</li>
<li>'path' 是目錄路徑的子字串,例如 'holidays25/day1'。</li>
</ul>
</li>
</ul>
```
外掛標籤
開發者團隊
② 後台搜尋「Album of photos from a folder in the Media Library」→ 直接安裝(推薦)
原文外掛簡介
Organize your photos in folders, select a path and display these photos with any gallery shortcode.
Howto
Organize your photos in directories. Store the photos for each album in a subdirectory in the WordPress upload directory. You can use a plugin to do this.
Import these photos to the Media Library. Maybe your plugin has this function too.
I use Bulk Media Register to import the photos to the Media Library, which I uploaded before with sftp.
Use the default gallery shortcode or install a plugin to display photos from Media Library, which has a shortcode for this, for example Photonic Gallery & Lightbox for Flickr, SmugMug & Others.
Configure the name of this shortcode (default gallery) and the list option (default ids) in admin backend.
Write your shortcode as usual, omit the list option and use an extra option path.
path is a substring of the directory path, for example holidays25/day1.
