Title: Demonstrator
Author: Andrei Surdu
Published: <strong>19. juli, 2017</strong>
Last modified: 5. juli, 2018

---

Søg plugins

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

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# Demonstrator

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

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

 * [Detaljer](https://da.wordpress.org/plugins/demonstrator/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/demonstrator/#reviews)
 * [Udvikling](https://da.wordpress.org/plugins/demonstrator/#developers)

 [Support](https://wordpress.org/support/plugin/demonstrator/)

## Beskrivelse

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

## Skærmbilleder

 * [[
 * [[
 * [[
 * [[

## Anmeldelser

![](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/) 27. april, 2021

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.

 [ Læs alle 0 anmeldelser ](https://wordpress.org/support/plugin/demonstrator/reviews/)

## Bidragsydere & udviklere

“Demonstrator” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

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

[Oversæt “Demonstrator” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/demonstrator)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/demonstrator/), tjek
[SVN repository](https://plugins.svn.wordpress.org/demonstrator/), eller abonner
på [udviklerloggen](https://plugins.trac.wordpress.org/log/demonstrator/) via [RSS](https://plugins.trac.wordpress.org/log/demonstrator/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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.

## Meta

 *  Version **1.3.0**
 *  Senest opdateret **8 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 4.7 eller højere **
 *  Testet op til **4.9.29**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/demonstrator/)
 * Tags
 * [connect](https://da.wordpress.org/plugins/tags/connect/)[demo](https://da.wordpress.org/plugins/tags/demo/)
   [switcher](https://da.wordpress.org/plugins/tags/switcher/)[theme](https://da.wordpress.org/plugins/tags/theme/)
   [themeforest](https://da.wordpress.org/plugins/tags/themeforest/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/demonstrator/advanced/)

## Bedømmelser

 1 ud af 5 stjerner.

 *  [  0 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/demonstrator/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/demonstrator/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/demonstrator/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/demonstrator/reviews/?filter=2)
 *  [  1 1-stjernet anmeldelse     ](https://wordpress.org/support/plugin/demonstrator/reviews/?filter=1)

[Tilføj min vurdering](https://wordpress.org/support/plugin/demonstrator/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/demonstrator/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/demonstrator/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://paypal.me/zerowp)