[wordpress插件] Accessible External Text Links可访问的外部文本链接

wordpress 插件 文章 2020-01-25 11:20 522 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

I created this plugin to make external text links more accessible to people with disabilities by displaying an image with an alternative that informs the user that the link will open in a new window.

我创建了这个插件,以通过显示图像以及通知用户该链接将在新窗口中打开的替代方式,使残疾人更易于访问外部文本链接。

Thanks to Romain Gervois.

感谢Romain Gervois。

安装步骤

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

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

    5. Go into the admin panel of the plugin and fill the ‘Image alternative text (alt attribute content)’ field with the alternative you fish to display default : “Opens in a new window”
    6. 进入插件的管理面板,并在“图像替代文本(alt属性内容)”字段中填充您要显示的替代项,以显示默认值:“在新窗口中打开”

    7. add a class of “external” on the links you wish to open in a new window.

    8. 在要在新窗口中打开的链接上添加“外部”类。

    For example use My Link

    例如使用 “我的链接”

    If you encounter some problems with icon positionning you can add a class of :
        

    如果您在定位图标时遇到一些问题,可以添加一个类:
        

    a.external img{} in your theme style.css file to control the image positionning

    主题 style.css 文件中的a.external img {},以控制图像定位

下载地址

https://downloads.wordpress.org/plugin/accessible-external-text-links.1.4.zip

https://downloads.wordpress.org/plugin/accessible-external-text-links.1.4.zip

-EOF-

AI助手支持GPT4.0