
內容簡介
SX Photo Gallery 是一個免費的內嵌照片庫外掛,可以讓您在數分鐘內輕鬆地在任何 WordPress 網站上運行照片庫。
您所需要做的就是安裝它,創建一個畫廊,上傳照片。
之後,您就可以在任何 WordPress 內容部分中放置一個簡碼,然後這個畫廊就會顯示在該頁面上。
使用此外掛的指南:
首先,按照“安裝”中所述安裝外掛。
之後,將添加一個名為“SX Photo Gallery”的新菜單項目到管理員菜單中。
它包含子頁面,例如您可以在“設置”中設置插件以滿足您的需求。
* 所有照片-查看和管理所有照片
* 添加新照片
* 管理 SX 畫廊-管理所有畫廊(查看、添加新畫廊、刪除、編輯)
* 設置-在這裡您可以管理某些選項,例如選擇畫廊版式
上傳照片之前,您應該創建至少一個畫廊。
要做到這一點,請轉到“SX Photo Gallery”->“Manage SX Galleries”,然後輸入新畫廊的名稱。
您還可以添加一些描述(可選)並指定縮略名(唯一)。
如果您沒有指定縮略名,它將從畫廊名稱生成。
在輸出畫廊時將使用縮略名。
當一些畫廊產生時,您可以添加照片。
這與在 WordPress 中創建普通帖子的方式類似:
1.轉到“SX Photo Gallery”->“添加新照片”或“SX Photo Gallery”->“所有照片”,然後按“添加新照片”按鈕。
2.在“標題”字段中輸入照片名稱。
3.在屏幕右側,您可以選擇要添加照片的畫廊。
4.在屏幕的同一區域下方點擊“設置特色圖片”。
5.從媒體庫中選擇所需的圖像或上傳新圖像並添加它們。
6.按“發布”即可將照片添加到畫廊中。
這些操作之後,您的畫廊將準備就緒。
您可以以多種方式輸出畫廊:
* 在頁面內容中使用簡碼“SXPhotoGallery”。例如:[SXPhotoGallery gallery-slug],其中“gallery-slug”是您畫廊的縮略名。
* 另一種添加畫廊的方式是簡單地轉到要添加畫廊的編輯頁面。
在編輯器區域上方,將出現一個名為“插入 SX Photo Gallery”的按鈕。
按下它,從列表中選擇一個畫廊,然後按“插入”即可將簡碼添加到編輯器。
保存更改,畫廊將添加到該頁面。
每個簡碼只能使用一個畫廊,但在同一內容區域中可以使用多個簡碼。
因此,您可以在一個頁面上顯示多個畫廊或同一畫廊多次。
外掛標籤
開發者團隊
原文外掛簡介
SX Photo Gallery is FREE inline photo gallery. Allows easily run a photogallery on any wordpress site in minutes.
All You need is to install it, create a gallery and upload photos.
After that You will be able to put a shortcode in any wordpress content section and the gallery will appear on that page.
Guide on how to use this plugin:
First of all install the plugin as described in “Installation”.
After that new menu item “SX Photo Gallery” will be added to admin menu.
It contains subpages like Settings where you can set up the plugin for Your needs.
* All photos – view and manage all photos
* Add New Photo
* Manage SX Galleries – manage all galleries ( view, add new, delete, edit )
* Settings – here you can manage some options, like select galleries skin, for example
Before uploading photos You should create at least one gallery.
To do this go to SX Photo Gallery -> Manage SX Galleries and enter name for new gallery. You can also add some description (optional)
and specify slug (unique). If you don’t specify a slug it will be generated from gallery name. Slug is used when you output the gallery.
After some galleries where created You can add photos.
It is similar to how you create ordinary post in WordPress:
1. navigate to SX Photo Gallery -> Add New Photo, or SX Photo Gallery -> All Photos and press button “Add New Photo”.
2. Enter photo name in “Title” field.
3. On the right side of screen You can choose to which galleries should photo be added.
4. And lower in same screen area click “Set featured image”.
5. Select desired image from existing photos in media library or upload some new and add them.
6. Press “Publish” and photo will be added to the gallery.
After these actions Your gallery will be ready to use.
You can output the gallery multiple ways:
* Use a shortcode “SXPhotoGallery” in a page content. Example: [SXPhotoGallery gallery-slug] where “gallery-slug” is
a slug of Your gallery.
* Another way to add a gallery is simply go to edit page where you want to add a gallery.
Above the editor section there will be a button “Insert SX Photo Gallery”. Press it and select a gallery from the list.
Than press “Insert” and a shortcode will be added to editor. Save the changes and gallery will be added to the page.
Only one gallery can be used per shortcode, but You can use multiple shortcodes in same content area.
So, You can display multiple galleries or same gallery multiple times on one page.
