[wordpress插件] Airliners Widget客机小部件

wordpress 插件 文章 2020-02-12 22:00 560 0 全屏看文

AI助手支持GPT4.0

评分

20

20

描述

This widget allows you to display an Airliners.net aviation picture on your website.

此小部件可让您在网站上显示Airliners.net的航空图片。

You can easily choose between a random picture, the “Top Of Yesterday” picture, or a specific picture by specifying the picture ID in the widget’s parameters.

通过在小部件的参数中指定图片ID,您可以轻松地在随机图片,“昨日最热门”图片或特定图片之间进行选择。

The widget uses a class called “widget_airliners_widget” allowing you to enforce some rendering, as the default block provided by Airliners.net is black with white writing.

该小部件使用名为“ widget_airliners_widget”的类,可让您强制执行某些渲染,因为Airliners.net提供的默认块为黑色,白色书写。

Included is airliners-widget.css style sheet that shows how to get the block with gray writing and transparent background.

包含的airlines-widget.css样式表显示了如何获取具有灰色文字和透明背景的块。

Feel free to edit this file to suit your needs !

可以根据您的需要随意编辑该文件!

This widget comes out of the box with french and german translations.

此小部件开箱即用,提供法语和德语翻译。

This widget also supports shortcodes !

此小部件还支持简码!

Just add a [airliners] shortcode to any of you posts and you’ll get a random Airliners.net picture by default !

只需在您的任何帖子中添加[airliners]简码,默认情况下您会获得随机的Airliners.net图片!

The shortcode supports two parameters : imgtype and imgid.

简码支持两个参数:imgtype和imgid。

* imgtype indicates what type of picture you want to show, it can take one of these values : random, yesterday, picture

* imgtype指示您要显示的图片类型,可以采用以下值之一:随机,昨天,图片

* imgid sets the id of the specific picture you want to show, if ‘picture’ has been set to imgtype

* imgid设置您要显示的特定图片的ID(如果“图片”已设置为imgtype

Shortcode usage samples :

简码用法示例:

[airliners imgtype=’yesterday’]

[airliners imgtype ='昨天']

Displays the top of yesterday’s pictures.

显示昨天图片的顶部。

[airliners imgtype=’picture’ imgid=’123456′]

[航空公司imgtype ='picture'imgid ='123456']

Displays the picture corresponding to id ‘123456’.

显示与ID“ 123456”相对应的图片。

安装步骤

    1. Upload the zipfile to the /wp-content/plugins/ directory
    2. 将zip文件上传到 / wp-content / plugins / 目录

    3. Extract and remove it
    4. 提取并删除它

    5. Activate the plugin through the ‘Plugins’ menu in WordPress
    6. 通过WordPress中的“插件”菜单激活插件

    7. Drag the new widget to desired sidebar, choose a title (or not) for the widget and select the image type.
    8. 将新窗口小部件拖动到所需的侧边栏,为窗口小部件选择标题(或不选择),然后选择图像类型。

下载地址

https://downloads.wordpress.org/plugin/airliners-widget.1.1.1.zip

https://downloads.wordpress.org/plugin/airliners-widget.1.1.1.zip

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Simple Related Posts简单的相关帖子
[wordpress插件] disable-hide-comment-url禁用隐藏评论网址
[wordpress插件] Display Time(zone)显示时间(区域)
[wordpress插件] Custom Scrollbar Designer自定义滚动条设计器
[wordpress插件] Custom JavaScript Editor自定义JavaScript编辑器
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 6128
如何解决渲染层网络错误Failed to load media? 17394
小程序找号找回 释放昵称? 3253
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 3109
删除部分微信用户个人数据的通知,怎么删除? 6381