[wordpress插件] AddFunc Adaptive ContentAddFunc自适应内容

wordpress 插件 文章 2020-02-01 03:40 578 0 全屏看文

AI助手支持GPT4.0

评分

100

100

描述

With all of the new web enabled devices springing up in the market and with the wide range of screen sizes and data transfer speeds, a website can no longer serve the same content upon every request (not without some degree of limitation and/

随着所有新的启用Web的设备涌入市场,并且屏幕尺寸和数据传输速度范围广泛,网站无法再根据每个请求提供相同的内容(并非没有一定程度的限制和/

or traffic-loss).

或流量损失)。

This lightweight plugin lets content writers and theme authors choose when WordPress should or shouldn’t show any give content item using shortcodes and quicktags or theme elements using functions.

这个轻巧的插件使内容作者和主题作者可以选择何时或应该不使用WordPress使用功能强大的短代码和快速标签或主题元素来显示任何给定内容项目。

It uses Mobile Detect (a PHP script) to identify the website visitor's device as either mobile, tablet or desktop, enabling you to

它使用移动检测(PHP脚本)将网站访问者的设备标识为移动设备,平板电脑或台式机,从而使您能够

allow or disallow content to be output.

允许或禁止输出内容。

Use it to prevent large files such as images from outputting to devices that generally have a lower data transfer speed available to them (e.g. mobile devices).

使用它可以防止将诸如图像之类的大文件输出到通常具有较低数据传输速度的设备(例如移动设备)上。

Serve more extensive copy and more elaborate userinterfaces to desktop devices and laptops.

为台式设备和笔记本电脑提供更广泛的副本和更精致的用户界面。

Target tablets to market a tablet oriented product or service.

定位平板电脑以销售面向平板电脑的产品或服务。

You can also detect iOS, iPhone, iPad, Android OS and Windows Mobile OS.

您还可以检测到iOS,iPhone,iPad,Android操作系统和Windows Mobile操作系统。

Example of a shortcode: [notmobile]Write anything you want between these two tags and WordPress will only output it when the visitor is viewing your website with a desktop/laptop or tablet and not with a mobile device.[otmobile]

简码示例:[notmobile]在这两个标记之间写任何您想要的内容,并且只有当访问者使用台式机/笔记本电脑或平板电脑而非移动设备查看您的网站时,WordPress才会输出该内容。[/ notmobile]

Easily add these shortcodes using the Quicktags in Text view.

使用“文本”视图中的“快速标记”轻松添加这些短代码。

All shortcodes also exist as functions (prefixed with aFAC_ for namespacing), which can be used in your theme as needed.

所有短代码也都作为函数存在(以aFAC_前缀命名空间),可以根据需要在您的主题中使用它们。

See the FAQs for more detail.

有关更多详细信息,请参见常见问题解答

Each function is a boolean and simply returns true or false.

每个函数都是布尔值,仅返回true或false。

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

e.g.

例如

    1. Upload the addfunc-adaptive-content folder to the /wp-content/plugins/ directory
    2. addfunc-adaptive-content 文件夹上载到 / wp-content / plugins / 目录

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

    5. Start using the shortcodes in your content and/or the functions in your theme
    6. 开始使用内容中的简码和/或主题中的功能

下载地址

https://downloads.wordpress.org/plugin/addfunc-adaptive-content.2.0.zip

https://downloads.wordpress.org/plugin/addfunc-adaptive-content.2.0.zip

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Billdu – Invoice Generator for WooCommerceBilldu – WooCommerce的发票生成器
[wordpress插件] Basic Protected Lightbox基本保护灯箱
[wordpress插件] Definitely allow mobile zooming绝对允许移动缩放
[wordpress插件] amr personaliseamr个性化
[wordpress插件] Better Email Signature更好的电子邮件签名
随便看看
教育科技公司申请微信支付被拒绝? 4798
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 6128