[wordpress插件] Content Attachments内容附件

wordpress 插件 文章 2020-03-31 22:10 435 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Wraps post attachments that are not images in handy tags that allow easy styling with CSS.

将不是图像的帖子附件包装在方便使用CSS样式的方便标签中。

It also adds a class to the attachment containing the mime type.

还将在包含mime类型的附件中添加一个类。

Use add_filter('content-attachments/template/paragraph', $html) to customized the HTML markup to render the attachment.

使用 add_filter('content-attachments / template / paragraph',$ html)自定义HTML标记以呈现附件。

Defaults to:

默认值为:

    

      

{{text}}    

{{text}}     

For this plugin to work properly, “wpautop” (i.e. automatic wrapping in

tags of lines written in WYSIWYG editors) must be enabled on WYSIWYG content editors of both WordPress and ACF.

为使该插件正常工作,必须在WordPress和ACF的WYSIWYG内容编辑器上启用“ wpautop”(即自动包裹在WYSIWYG编辑器中编写的行的

标签中)。

This is the default behavior.

这是默认行为。

Please report issues or ask questions on (GitHub)[https://github.com/themecraftstudio/wordpress-content-attachments]

请在(GitHub)[https://github.com/themecraftstudio/wordpress-content-attachments]中报告问题或提出问题

下载地址
https://downloads.wordpress.org/plugin/content-attachments.zip
-EOF-

AI助手支持GPT4.0