[wordpress插件] Average Travel Costs平均旅行费用

wordpress 插件 文章 2020-02-26 06:20 492 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

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.

平均费用显示为新的 Gutenberg块侧边栏小工具,其中显示了“预算旅行”网站上的可嵌入旅行费用。

The embeded travel costs can be displayed at any width.

嵌入的旅行费用可以任意宽度显示。

安装步骤

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

此插件可以从WordPress仪表板安装,也可以手动安装。

For manual installation:

对于手动安装:

    1. Upload the plugin folder to the /wp-content/plugins/ directory.
    2. 将插件文件夹上传到/ wp-content / plugins /目录。

    3. Activate the plugin.
    4. 激活插件。

    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编辑器中找到“平均旅行成本”块,或者在“外观-小部件”下的小部件列表中找到旅行费用小部件。

    Gutenberg Blocks

    古腾堡块

    1. Create a new block by clicking the + icon.

    1.单击+图标创建一个新块。

    2. Look for the Budget Travel section of blocks.

    2.查找块的预算旅行部分。

    3. Add one of the Average Travel Cost blocks, either for a city or a country

    3.添加城市或国家/地区的“平均旅行费用”区块之一

    4. Select the desired location, and then choose whether to show the categories and the default currency.

    4.选择所需的位置,然后选择是否显示类别和默认货币。

    Sidebar Widgets

    侧边小部件

    1. Go to Appearance > Widgets**

    1.转到外观>窗口小部件**

    2. Look for the *Average Travel Costs widget, either for the City or the Country

    2.查找*平均旅行费用小部件,用于城市或国家/地区

    3. Drag the widget to the desired section on the right

    3.将窗口小部件拖到右侧的所需部分

    4. Select the desired location, and then choose whether to show the categories and the default currency.

    4.选择所需的位置,然后选择是否显示类别和默认货币。

    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.

    但是,可以通过粘贴在https://www.budgetyourtrip.com/travel-cost-widget上找到的小部件代码,手动添加小部件。

下载地址
https://downloads.wordpress.org/plugin/average-travel-costs.1.1.zip
-EOF-

AI助手支持GPT4.0