AI助手支持GPT4.0
This plugin allows you to easily add Apixu weather widgets to your site.
此插件可让您轻松将Apixu天气小部件添加到您的站点。 p>
Apixu Weather plugin is fully responsive (automatically adapt appearance for mobile displays), highly customizable (add as widget or shortcode), beautiful and simple to use.
Apixu Weather插件具有完全响应能力(自动适应移动显示的外观),高度可定制(作为小部件或简码添加),美观且易于使用。 p>
The weather data is provided for free by [Apixu.com]https://www.apixu.com, they require an [Apixu.com] https://www.apixu.com免费提供天气数据,它们需要"nofollow">API Key to access their weather.“ nofollow“> API密钥以访问其天气。
[Apixu.com] https://www.apixu.com免费提供天气数据,它们需要"nofollow">API Key to access their weather.
"nofollow">API Key
“ nofollow“> API密钥
Once you have the API Key you can simply add it in 'Settings' -> 'Apixu Weather' and you’re ready to go.
'Settings' -> 'Apixu Weather'
拥有API密钥后,您只需将其添加到“设置”->“ Apixu Weather” code>中,即可开始使用。 p>Use the built in widget with all of its custom settings or add it to a page or theme with the shortcode: (all settings shown)使用内置窗口小部件及其所有自定义设置,或将其添加到带有短代码的页面或主题中:(显示所有设置) p>[apixu-weather location='Minsk, Belarus' units='C' size='tall' forecast_days='3' scheme='1' hide_stats='1' inline_style='max-width: 300px [apixu天气位置='明斯克,白俄罗斯'单位='C'大小='高'Forecast_days ='3'scheme ='1'hide_stats ='1'inline_style ='max-width:300px ' custom_bg_color='green' text_color='red']'custom_bg_color ='绿色'text_color ='红色'] code> pre>Settings设置 h4>Location: Enter a string like “Minsk, Belarus” or just “London”.位置:输入字符串,例如“白俄罗斯明斯克”或仅输入“伦敦”。You may also pass latitude and longitude in decimal degree.您也可以按十进制度数传递纬度和经度。E.g: 53.1,-0.12例如:53.1,-0.12 li>Units: C (default) or F单位:C(默认)或F li>Size: tall (default) or wide大小:高(默认)或宽 li>Forecast Days: How many days to show in the forecast bar (3 or 5)预测天数:在预测栏中显示多少天(3或5) li>Hide stats: Hide the text stats like humidity, wind, high and lows, etc隐藏统计信息:隐藏文本统计信息,例如湿度,风,高低等 li>Inline style: styles for widget内联样式:小部件样式 p> li>Sample:示例: p> li>scheme=”45″ means widget 5 style will be choosen. scheme =“ 45”表示将选择小部件5样式。 li>Custom background color and test color is only available for 81,1 widget codes and not active if other.自定义背景色和测试色仅适用于81,1小部件代码,而其他则无效。 p> li>Widget styles shortlist.小部件样式短名单。Code – widget style.代码–小部件样式。 p> li>41 – Widget 1 41 –小部件1 li>42 – Widget 2 42 –小部件2 li>43 – Widget 3 43 –小部件3 li>44 – Widget 4 44 –小部件4 li>45 – Widget 5 45 –小部件5 li>72 – Widget 6 72 –小部件6 li>73 – Widget 7 73 –小部件7 li>81 – Widget (custom) 8 81 –小部件(自定义)8 li>1 – Widget (custom) 9 1 –小部件(自定义)9 p> li>Colors颜色 p> li>custom_bg_color = ‘green’ also available code, for example ‘#000’ (Black) custom_bg_color ='green'也可用的代码,例如'#000'(黑色) li>text_color = ‘red’ also available code, for example ‘#000’ (Black) text_color =“红色”也可用的代码,例如“#000”(黑色) li> ul>
“设置”->“ Apixu Weather” code>中,即可开始使用。 p>Use the built in widget with all of its custom settings or add it to a page or theme with the shortcode: (all settings shown)使用内置窗口小部件及其所有自定义设置,或将其添加到带有短代码的页面或主题中:(显示所有设置) p>[apixu-weather location='Minsk, Belarus' units='C' size='tall' forecast_days='3' scheme='1' hide_stats='1' inline_style='max-width: 300px [apixu天气位置='明斯克,白俄罗斯'单位='C'大小='高'Forecast_days ='3'scheme ='1'hide_stats ='1'inline_style ='max-width:300px ' custom_bg_color='green' text_color='red']'custom_bg_color ='绿色'text_color ='红色'] code> pre>Settings设置 h4>Location: Enter a string like “Minsk, Belarus” or just “London”.位置:输入字符串,例如“白俄罗斯明斯克”或仅输入“伦敦”。You may also pass latitude and longitude in decimal degree.您也可以按十进制度数传递纬度和经度。E.g: 53.1,-0.12例如:53.1,-0.12 li>Units: C (default) or F单位:C(默认)或F li>Size: tall (default) or wide大小:高(默认)或宽 li>Forecast Days: How many days to show in the forecast bar (3 or 5)预测天数:在预测栏中显示多少天(3或5) li>Hide stats: Hide the text stats like humidity, wind, high and lows, etc隐藏统计信息:隐藏文本统计信息,例如湿度,风,高低等 li>Inline style: styles for widget内联样式:小部件样式 p> li>Sample:示例: p> li>scheme=”45″ means widget 5 style will be choosen. scheme =“ 45”表示将选择小部件5样式。 li>Custom background color and test color is only available for 81,1 widget codes and not active if other.自定义背景色和测试色仅适用于81,1小部件代码,而其他则无效。 p> li>Widget styles shortlist.小部件样式短名单。Code – widget style.代码–小部件样式。 p> li>41 – Widget 1 41 –小部件1 li>42 – Widget 2 42 –小部件2 li>43 – Widget 3 43 –小部件3 li>44 – Widget 4 44 –小部件4 li>45 – Widget 5 45 –小部件5 li>72 – Widget 6 72 –小部件6 li>73 – Widget 7 73 –小部件7 li>81 – Widget (custom) 8 81 –小部件(自定义)8 li>1 – Widget (custom) 9 1 –小部件(自定义)9 p> li>Colors颜色 p> li>custom_bg_color = ‘green’ also available code, for example ‘#000’ (Black) custom_bg_color ='green'也可用的代码,例如'#000'(黑色) li>text_color = ‘red’ also available code, for example ‘#000’ (Black) text_color =“红色”也可用的代码,例如“#000”(黑色) li> ul>
Use the built in widget with all of its custom settings or add it to a page or theme with the shortcode: (all settings shown)
使用内置窗口小部件及其所有自定义设置,或将其添加到带有短代码的页面或主题中:(显示所有设置) p>
[apixu-weather location='Minsk, Belarus' units='C' size='tall' forecast_days='3' scheme='1' hide_stats='1' inline_style='max-width: 300px [apixu天气位置='明斯克,白俄罗斯'单位='C'大小='高'Forecast_days ='3'scheme ='1'hide_stats ='1'inline_style ='max-width:300px ' custom_bg_color='green' text_color='red']'custom_bg_color ='绿色'text_color ='红色'] code> pre>Settings设置 h4>Location: Enter a string like “Minsk, Belarus” or just “London”.位置:输入字符串,例如“白俄罗斯明斯克”或仅输入“伦敦”。You may also pass latitude and longitude in decimal degree.您也可以按十进制度数传递纬度和经度。E.g: 53.1,-0.12例如:53.1,-0.12 li>Units: C (default) or F单位:C(默认)或F li>Size: tall (default) or wide大小:高(默认)或宽 li>Forecast Days: How many days to show in the forecast bar (3 or 5)预测天数:在预测栏中显示多少天(3或5) li>Hide stats: Hide the text stats like humidity, wind, high and lows, etc隐藏统计信息:隐藏文本统计信息,例如湿度,风,高低等 li>Inline style: styles for widget内联样式:小部件样式 p> li>Sample:示例: p> li>scheme=”45″ means widget 5 style will be choosen. scheme =“ 45”表示将选择小部件5样式。 li>Custom background color and test color is only available for 81,1 widget codes and not active if other.自定义背景色和测试色仅适用于81,1小部件代码,而其他则无效。 p> li>Widget styles shortlist.小部件样式短名单。Code – widget style.代码–小部件样式。 p> li>41 – Widget 1 41 –小部件1 li>42 – Widget 2 42 –小部件2 li>43 – Widget 3 43 –小部件3 li>44 – Widget 4 44 –小部件4 li>45 – Widget 5 45 –小部件5 li>72 – Widget 6 72 –小部件6 li>73 – Widget 7 73 –小部件7 li>81 – Widget (custom) 8 81 –小部件(自定义)8 li>1 – Widget (custom) 9 1 –小部件(自定义)9 p> li>Colors颜色 p> li>custom_bg_color = ‘green’ also available code, for example ‘#000’ (Black) custom_bg_color ='green'也可用的代码,例如'#000'(黑色) li>text_color = ‘red’ also available code, for example ‘#000’ (Black) text_color =“红色”也可用的代码,例如“#000”(黑色) li> ul>
[apixu天气位置='明斯克,白俄罗斯'单位='C'大小='高'Forecast_days ='3'scheme ='1'hide_stats ='1'inline_style ='max-width:300px ' custom_bg_color='green' text_color='red']'custom_bg_color ='绿色'text_color ='红色']
' custom_bg_color='green' text_color='red']
'custom_bg_color ='绿色'text_color ='红色']
code> pre>
You may also pass latitude and longitude in decimal degree.
您也可以按十进制度数传递纬度和经度。
E.g: 53.1,-0.12
例如:53.1,-0.12 li>
Inline style: styles for widget
内联样式:小部件样式 p>
li>
Sample:
示例: p>
Custom background color and test color is only available for 81,1 widget codes and not active if other.
自定义背景色和测试色仅适用于81,1小部件代码,而其他则无效。 p>
Widget styles shortlist.
小部件样式短名单。
Code – widget style.
代码–小部件样式。 p>
1 – Widget (custom) 9
1 –小部件(自定义)9 p>
Colors
颜色 p>
ul>
/wp-content/plugins/
/ wp-content / plugins / code>目录 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>Register for an Apixu API Key注册Apixu API密钥 li>Add your API Key to the settings field in 'Settings' -> 'Apixu Weather' (added in version 1.0)将您的API密钥添加到“设置”->“ Apixu Weather” code>(版本1.0中添加)中的设置字段中 li>Use shortcode or widget to display apixu weather on your apixu site使用简码或小部件在您的apixu网站上显示apixu天气 li>
“设置”->“ Apixu Weather” code>(版本1.0中添加)中的设置字段中 li>Use shortcode or widget to display apixu weather on your apixu site使用简码或小部件在您的apixu网站上显示apixu天气 li>
ol>
原文出处:http://www.sanshu.cn/a/2572.html
群主管理都是支付大佬