這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Galdget

外掛說明

This plugin provides two features, a gallery shortcode and a widget, which slide-show the images and webpages from the list that you define, as may be seen on demo pages demo 1 and demo 2. The list consists of URLs that point to images or web pages, residing either on your blog website or on some other web server on the internet. You can include one or more directories from your web server into the list, and all images and html/php files from the directories will participate in the slide show.

So you can display galleries on your posts and pages, but also in the widget areas of your blog. The galleries can display images and/or web pages.

Features

  • Gallery shortcode with a large set of options, to be included in posts and pages
  • Gallery widget
  • Both pictures and web pages can be displayed in the gallery
  • Multiple galleries can be set up on the same page/post, with different content and options
  • Multiple widgets can be set up, with different content and options
  • Gallery content can be post/page/tag/category/date/time… specific
  • Each image from the directory can have custom title and link
  • User-friendly links setup screen
  • Export and import of the links list in TSV format
  • Links list can be processed in external applications (OpenOffice Calc, LibreOffice Calc, Excel…) and imported into your site
  • Various animations for switching between gallery items
  • [premium feature] Gallery frame, preset or user defined

Each item in the list (picture, web page, directory) can be set up to appear on a specific page or post, designated by a slug, tag or category, or at specific date, day, hour, so your galleries can display different content each time the visitors come back to your site. These features can be used to set up a scheduled content to appear when certain conditions are met. For example, a restaurant can have a large slide show with today’s menu on the front page, and the menus for the next two days displayed as two separate widgets in the widget area (as shown in the example and tutorial here).

The animation used for transition between the pictures/webpages can be chosen from a predefined set, as shown in the animations demo page.

Demo and tutorial pages

URL list setup

Links to pictures and/or web pages, that you want to display in your galleries, are specified in the URL list setup page. It is located in the WordPress dashboard under Settings / Galdget. The list setup is described on URL list setup page.

Default URL list

During plugin installation the initial URL list is provided as a sample, in order to facilitate first setup and run. It contains two links that point to the following web pages:

Normally, you will delete these links and put your own in the list, but if you want to run a gallery out of the box first, all you need to do is put the “Galdget” widget in one of your blog’s sidebars and visit your blog, you will see a gallery with these two sites.

Once you put your URLs in the list, instead of the two above, they will not appear again.

螢幕擷圖

  • Gallery on the page, created by inserting a shortcode into the page.
  • Two galleries on the page, two shortcodes (inside a table, for proper alignment).
  • Two galleries in two widgets.
  • URL list setup page
  • Widget setup page
  • Post/Page editor, with the shortcode and tools to help you create one.

安裝方式

Galdget is best installed via WordPress plugins screen, as described in 5 minute setup:

  1. Log into administrator panel
  2. Navigate to Plugins
  3. Click the “Add New” button
  4. Type “Galdget” in the search text box
  5. Click the “Install Now” button in the Galdget box in search results
  6. Navigate to Plugins
  7. Click “Activate” in Galdget section

Alternatively, you may download zip archive from the WordPress plugins site to your local folder and:

  1. Log into administrator panel
  2. Navigate to Plugins
  3. Click the “Add New” button
  4. Click the “Upload Plugin” button
  5. Click the “Browse” button and navigate to the zip archive that you saved
  6. Click the “Install Now” button
  7. Navigate to Plugins
  8. Click “Activate” in Galdget section

Please take a look at galdget 5 minute setup, it will show you how to get your gallery displayed in a widget, or within a post/page.

常見問題集

Installation Instructions

Galdget is best installed via WordPress plugins screen, as described in 5 minute setup:

  1. Log into administrator panel
  2. Navigate to Plugins
  3. Click the “Add New” button
  4. Type “Galdget” in the search text box
  5. Click the “Install Now” button in the Galdget box in search results
  6. Navigate to Plugins
  7. Click “Activate” in Galdget section

Alternatively, you may download zip archive from the WordPress plugins site to your local folder and:

  1. Log into administrator panel
  2. Navigate to Plugins
  3. Click the “Add New” button
  4. Click the “Upload Plugin” button
  5. Click the “Browse” button and navigate to the zip archive that you saved
  6. Click the “Install Now” button
  7. Navigate to Plugins
  8. Click “Activate” in Galdget section

Please take a look at galdget 5 minute setup, it will show you how to get your gallery displayed in a widget, or within a post/page.

What to do after plugin activation

When you install and activate the plugin, you have to set up your list of images and web pages to display. In WordPress admin panel (dashboard), go to Settings / Galdget and set up your gallery contents. It would not hurt to read the instructions for URL list setup.

After that, your gallery may be displayed in a widget, for this you go to Appearance / Widgets, and drag “Galdget” into one of the sidebars.

You may also want to display your gallery on a post or page, in which case you will have to insert a shortcode using post/page editor.

Either way, you should read, at least, 5 minute setup page.

Why do I get two strange items in the URL list after plugin install

It’s the following two:

They are here if you want to see the gallery running before you set up your links. Also as a sample, so you can see what goes where.

Normally, you delete them and put your own links in the list.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Galdget〉的開發相關工作。

參與者

〈Galdget〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Galdget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.3

  • Added SEO friendly img alt attributes
  • “dir” directive in the URL list now can point to single file

1.0.2

  • Added minutely content schedule.
  • Fixed “Open” and “Open in new window” behavior
  • Improved folder URL processing, now web pages in gallery can have separate URLs and descriptions.

1.0.1

  • Fixed bad interpretation of tags and categories.
  • Improved coexistence with other plugins, which tend to take onLoad event handlers for themselves.

1.0.0

  • Initial version