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

Average Travel Costs

外掛說明

This plugin allows a blog or website to display average daily travel costs and prices from Budget Your Trip. These travel costs are calculated from travel expenses submitted by tens of thousands of real travelers. The expenses are then averaged and aggregated to create the costs for cities and countries around the world.

The average costs are displayed as a new Gutenberg block or a sidebar widget, displaying the embeddable travel costs found on Budget Your Trip\’s website. The embeded travel costs can be displayed at any width.

螢幕擷圖

  • Average travel costs widget, as it appears on a published post
  • The Budget Travel group of blocks where you can select the Average Travel Cost blocks
  • Creation of a new block
  • Search for a city of your choice to display the average travel costs
  • Selection of a city, ready to be published

安裝方式

This plugin can either be installed from the WordPress dashboard, or manually.

For manual installation:

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin.

Find the Average Travel Cost blocks in the new Gutenberg editor, or the travel cost widgets in the list of widgets under Appearance – Widgets.

Gutenberg Blocks
1. Create a new block by clicking the + icon.
2. Look for the Budget Travel section of blocks.
3. Add one of the Average Travel Cost blocks, either for a city or a country
4. Select the desired location, and then choose whether to show the categories and the default currency.

Sidebar Widgets
1. Go to Appearance > Widgets**
2. Look for the *Average Travel Costs
widget, either for the City or the Country
3. Drag the widget to the desired section on the right
4. Select the desired location, and then choose whether to show the categories and the default currency.

Classic Editor
This plugin currently does not support adding the average travel cost widget to the body content with the classic editor. However, the widget can be added manually by pasting the widget code found at https://www.budgetyourtrip.com/travel-cost-widget.

常見問題集

How do I add the travel cost widget if I’m using the new Gutenberg Editor?

  1. Create a new block by clicking the + icon.
  2. Look for the Budget Travel section of blocks.
  3. Add one of the Average Travel Cost blocks, either for a city or a country
  4. Select the desired location, and then choose whether to show the categories and the default currency.

How do I add the travel cost widget if I’m using the Classic Editor?

This plugin currently does not support adding the average travel cost widget to the body content with the classic editor. However, the widget can be added manually by pasting the widget code found at https://www.budgetyourtrip.com/travel-cost-widget .

Where do the average daily travel costs come from?

The travel costs come from real travelers. You can read more about this at https://www.budgetyourtrip.com/about.php .

使用者評論

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

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.1

  • The travel cost categories can now be hidden. By default, they are displayed.
  • The default currency can be selected. If a default currency is not selected, then the widget will default to the local currency for the selected location.

1.0

  • Basic setup of the plugin
  • Blocks can be created and published for a city or a country
  • Widgets (sidebar/footer) can be displayed for a city or a country