[WordPress] 外掛分享: Demonstrator

首頁外掛目錄 › Demonstrator
WordPress 外掛 Demonstrator 的封面圖片
10+
安裝啟用
☆☆☆☆
1/5 分(1 則評價)
2813 天前
最後更新
問題解決
WordPress 4.7+ v1.3.0 上架:2017-07-18

內容簡介

超越主題切換器!

Demonstrator 允許建立一個有或沒有示範樣式的 demo 網站列表。它最初是為網站開發人員使用而設計,但現在任何人都可以使用它。您可以自由地創建無限數量的切換器,因為一個籃子不適用於所有情況:)

特點:

- 直接從管理頁面管理無限數量的主題。
- 為每個主題添加無限數量的樣式的可能性。
- 設置自己的標誌。
- 設置自己的 URL,以便在鏈接中包裝標誌。
- 在 1 到 4 列的網格中顯示主題和樣式。
- 設置 Envato 和 CreativeMarket 推薦計劃的用戶名。
- 簡短的 "購買 URL"。實際的購買 URL 將隱藏在本地 URL 中,因此沒有人能夠在沒有您的 referal ID 的情況下訪問購買頁面。
- 框架沒有關閉,而是在頂部折疊。這實際上是一個獎勵,因為訪問者永遠不會失去購買 URL 和訪問其他主題/樣式的權限。
- 使用主頁並忽略完整站點內容,或設置自定義終端點名稱。

工作原理:

必須創建一個切換器來保留所有 demo 網站。您可以創建多個,但至少需要一個。在第一次安裝插件時,會創建一個切換器,因此您可以專注於更重要的事情。從管理員側面進入“Demonstrator”頁面以添加或編輯切換器。

創建切換器後,可以從“Demonstrator”菜單項目下的子頁面訪問它。

在那裡完整所有字段並保存。

現在,您可以使用“http://yoursiteadress.com/{switcher_id}”訪問切換器。其中 {switcher_id} 是創建切換器時使用的 ID。

TODO:

- 導入、導出和備份設置(帶有圖像/文件)。這需要很多工作。
- 從管理面板添加指定框架大小(寬度和高度)的選項。然後這將在前端作為下拉菜單可用。
- 為每個樣式添加上傳字段。如果您想包括示範數據,這可能很方便。
- 為每個類別實現自定義顏色。目前,它是硬編碼的。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon