Title: Demonstrator
Author: Andrei Surdu
Published: <strong>2017 年 7 月 19 日</strong>
Last modified: 2018 年 7 月 5 日

---

搜尋外掛

![](https://ps.w.org/demonstrator/assets/banner-772x250.jpg?rev=1700695)

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

![](https://ps.w.org/demonstrator/assets/icon-256x256.png?rev=1699169)

# Demonstrator

 由 [Andrei Surdu](https://profiles.wordpress.org/_smartik_/) 開發

[下載](https://downloads.wordpress.org/plugin/demonstrator.1.3.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/demonstrator/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/demonstrator/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/demonstrator/#developers)

 [技術支援](https://wordpress.org/support/plugin/demonstrator/)

## 外掛說明

More than a theme switcher!

Demonstrator allows to build a list of demo sites with or without demo styles. It
was initially intended to be used only by web developers, but now it’s possible 
to be used by everyone. Also you have the freedom to create an unlimited number 
on switchers, just because one bascket is not for all egs :).

### Features:

 * The possibility to manage an unlimited number of themes directly from an admin
   page.
 * The possibility to add an unlimited number of styles to each theme.
 * Setup your own logo.
 * Setup your own URL that will wrap the logo in a link.
 * Display the themes and styles in a grid from 1 to 4 columns.
 * Setup the usernames for Envato and CreativeMarket referal program.
 * Short “purchase URL”. The real purchase URL will be hidden in a local URL, so
   nobody will be able to access the purchase page without your referal ID.
 * The frame is not closed, but instead is collapsed on top. This actually is a 
   bonus because the visitors never lose the purchase URL and the acces to other
   themes/styles.
 * Use the homepage and ignore the full site content, or setup a custom endpoint
   name.

### How it works:

You must create a switcher that will keep all demo sites. You can create more than
one, but at least one is required. By default on first plugin installation a switcher
is created, so you can focus on more important things. Go to “Demonstrator” page
from admin side to add or edit a switcher.

After the switcher is created, you can access it from a subpage under “Demonstrator”
menu item.

There complete all fields and save.

Now you can access the switcher using “http://yoursiteadress.com/{switcher_id}”.
Where {switcher_id} is the ID used when the switcher was created.

### Live example:

Here are some links that will show the plugin in action. The switcher ID in this
case is `tf`.

 * **Switcher base url:** http://themes.market/tf/
 * **Single site URL:** http://themes.market/tf/gustoswp
 * **Shorten purchase URL:** http://themes.market/?buy=tf:gustoswp

_More demos coming soon._

### Completed TODOs:

 * Make themes and styles sortable( in admin panel ).
 * Display the price and description.
 * Make a theme unlisted. This is usefull when you have to show the demo, but you
   don;t have the purchase URL yet. Example: You submitted for review and the theme
   should be visible only to reviewer, but not to other users. This will be possible
   only by using a direct link.
 * Do not allow to collapse the top bar and hide the dropdown(themes list) if no
   theme has been selected.
 * Hide “Purchase” button if a purchase URL is not available.
 * Private themes. Just like unlisted, but instead do not allow access to demo using
   direct link for user without administrative rights.
 * Do not hide the dropdown if no theme is selected.
 * Lazy-load images. We must wait for demo site from iframe to complete loading,
   not for images from top window.
 * Include a link to WP admin in top bar.
 * Pretty links.
 * Multiple switchers.

### TODO:

 * Import, Export and Backup settings(with images/files). This requires a lot of
   work.
 * Add an option to specify the frame size(width&height) from admin panel. Then 
   this will be available on frontend as dropdown.
 * Add an upload field to each style. This may be handy if you want to include the
   demo data.
 * Implement custom colors for each category. Currently this is hardcoded for `WordPress`
   and `HTML` categories only.
 * Make possible to change the text of all elements directly from admin panel.
 * Add the possibility to ignore the ‘purchase URL’ in favor to a ‘download URL’.
   Just in case if you want to provide free files.
 * Display an icon that will allow to preview the the theme outside the iframe. 
   An alternative to `collapse`.
 * Lazy-load items. Right now are loaded all themes and styles regardless if they
   are needed or not. It’s needed to load to load each theme and style just when
   needed(probably using ajax). Ideas are welcome.
 * Add the possibility to customize the design of the switcher itself.
 * Add the possibility to activate google analytics.
 * Anonymous URL. Allow to open a link in switcher frame even if it not registered
   under a theme style. This may be usefull for other use cases.
 * Add an iframe loader, so it does not show up an incomplete site.
 * Style separators. Sometimes you may have too many demos that may need to be separated
   somehow. This one should allow to add sections of text that will serve as an 
   intro to a styles set.

### Support & Donate:

Hi.
 I invested a considerable amount of time in this product. And I still have 
a lot of work to do on it. See the above ‘TODO’ list. Consider making a donation
if you find this product useful. Don’t ignore this message. Your donation will make
a difference. I would like to improve it as much as I can, but your support is needed.

Donate link: https://paypal.me/zerowp

### Issues tracker:

Please report bugs on: https://github.com/ZeroWP/demonstrator/issues

## 螢幕擷圖

[[

[[

[[

[[

## 使用者評論

![](https://secure.gravatar.com/avatar/6041297ab661ff42499958fcc56ee38d465bed88194ae3ca8269339acc5908b6?
s=60&d=retro&r=g)

### 󠀁[Plugin is no longer developed and unfortunately no longer works.](https://wordpress.org/support/topic/plugin-is-no-longer-developed-and-unfortunately-no-longer-works/)󠁿

 [webfuturenews](https://profiles.wordpress.org/webfuturenews/) 2021 年 4 月 27 
日

It’s a shame that this plugin is no longer being developed. It had so much potential!
Better than anything I can currently find on the internet. Competitors cost $ 25
and only have a fraction of the features. What was missing from this plugin, just
a professional website and a good marketing strategy. The plugin was 50% ready and
unfortunately did not make the finished product. For the finished product I would
have paid $ 30.

 [ 閱讀全部 0 則使用者評論 ](https://wordpress.org/support/plugin/demonstrator/reviews/)

## 參與者及開發者

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

參與者

 *   [ Andrei Surdu ](https://profiles.wordpress.org/_smartik_/)

[將〈Demonstrator〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/demonstrator)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/demonstrator/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/demonstrator/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/demonstrator/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/demonstrator/)。

## 變更記錄

#### 1.3.0

 * New: Allow to add a custom button in the bar from top for each individual item.
 * New: Image aspect ratios.

#### 1.2.1

 * Faster escape the iframe if it’s within another iframe. Previously it has to 
   wait for jquery and CSS to load first.
 * Hide dropdown on tab click. Previously it has been possible to close it only 
   on top bar click.
 * Do not show the arrow used to collapse the bar when no theme has been selected.
 * Load bar logo before any other images.
 * Shortcut link in admin panel to WordPress.ORG reviews page. Just a reminder. 
   😉

#### 1.2

 * Major code refactoring.

#### 1.1

 * Do not allow to collapse the top bar and hide the dropdown(themes list) if no
   theme has been selected.
 * Hide “Purchase” button if a purchase URL is not available.
 * Private themes. Just like unlisted, but instead do not allow access to demo using
   direct link for user without administrative rights.
 * Do not hide the dropdown if no theme is selected.
 * Lazy-load images. We must wait for demo site from iframe to complete loading,
   not for images from top window.
 * Include a link to WP admin in top bar.
 * Pretty links.
 * Multiple switchers.

#### 1.0

 * Initial release.

## 中繼資料

 *  版本 **1.3.0**
 *  最後更新 **8 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 4.7 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.9.30**
 *  語言
 * [English (US)](https://wordpress.org/plugins/demonstrator/)
 * 標籤:
 * [connect](https://tw.wordpress.org/plugins/tags/connect/)[demo](https://tw.wordpress.org/plugins/tags/demo/)
   [switcher](https://tw.wordpress.org/plugins/tags/switcher/)[theme](https://tw.wordpress.org/plugins/tags/theme/)
   [themeforest](https://tw.wordpress.org/plugins/tags/themeforest/)
 *  [進階檢視](https://tw.wordpress.org/plugins/demonstrator/advanced/)

## 評分

 1 星，滿分為 5 星

 *  [  0 個 5 星使用者評論     ](https://wordpress.org/support/plugin/demonstrator/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/demonstrator/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/demonstrator/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/demonstrator/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/demonstrator/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/demonstrator/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/demonstrator/reviews/)

## 參與者

 *   [ Andrei Surdu ](https://profiles.wordpress.org/_smartik_/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/demonstrator/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://paypal.me/zerowp)