AI助手支持GPT4.0
This plugin adds the [img] shortcode which replaces the html tag.
[img]
此插件添加了 [img] code>短代码,该短代码取代了 code> html标签。It’s also enables adding new media to post/page via the ‘Add media’ button by automatically inserting the formatted shortcode code to the editor.通过自动将格式化的短代码插入到编辑器中,还可以通过“添加媒体”按钮将新媒体添加到帖子/页面中。You can simply add the [img] shortcode with a media ID to display:您只需添加带有媒体ID的 [img] code>短代码即可显示: p>[img 123] [img 123] code> pre>or a fully formatted [img] shortcode:或完全格式化的 [img] code>简码: p>[img 123 align="center" size="full" caption="Sample text" title="Sample text" desc="Sample text" alt="Sample text" url="http:// [img 123 align =“ center” size =“ full” caption =“示例文本” title =“示例文本” desc =“示例文本” alt =“示例文本” url =“ http:// example.com/"]example.com/“] code> pre>It’s supports srcset and sizes parameters.它支持 srcset code>和 sizes code>参数。 p>Tips & Tricks提示和技巧 h4>You can use your own html template file for displaying the img tag by using filter:您可以使用自己的HTML模板文件通过使用过滤器来显示 img code>标记: p>add_filter( 'Clearcode\IMG_Shortcode\template', function() { return '/themes/clearcode.cc/templates/img.php'; } ); add_filter('Clearcode \ IMG_Shortcode \ template',function(){return'/themes/clearcode.cc/templates/img.php';}); code> pre>
[img] code>短代码,该短代码取代了 code> html标签。It’s also enables adding new media to post/page via the ‘Add media’ button by automatically inserting the formatted shortcode code to the editor.通过自动将格式化的短代码插入到编辑器中,还可以通过“添加媒体”按钮将新媒体添加到帖子/页面中。You can simply add the [img] shortcode with a media ID to display:您只需添加带有媒体ID的 [img] code>短代码即可显示: p>[img 123] [img 123] code> pre>or a fully formatted [img] shortcode:或完全格式化的 [img] code>简码: p>[img 123 align="center" size="full" caption="Sample text" title="Sample text" desc="Sample text" alt="Sample text" url="http:// [img 123 align =“ center” size =“ full” caption =“示例文本” title =“示例文本” desc =“示例文本” alt =“示例文本” url =“ http:// example.com/"]example.com/“] code> pre>It’s supports srcset and sizes parameters.它支持 srcset code>和 sizes code>参数。 p>Tips & Tricks提示和技巧 h4>You can use your own html template file for displaying the img tag by using filter:您可以使用自己的HTML模板文件通过使用过滤器来显示 img code>标记: p>add_filter( 'Clearcode\IMG_Shortcode\template', function() { return '/themes/clearcode.cc/templates/img.php'; } ); add_filter('Clearcode \ IMG_Shortcode \ template',function(){return'/themes/clearcode.cc/templates/img.php';}); code> pre>
code> html标签。It’s also enables adding new media to post/page via the ‘Add media’ button by automatically inserting the formatted shortcode code to the editor.通过自动将格式化的短代码插入到编辑器中,还可以通过“添加媒体”按钮将新媒体添加到帖子/页面中。You can simply add the [img] shortcode with a media ID to display:您只需添加带有媒体ID的 [img] code>短代码即可显示: p>[img 123] [img 123] code> pre>or a fully formatted [img] shortcode:或完全格式化的 [img] code>简码: p>[img 123 align="center" size="full" caption="Sample text" title="Sample text" desc="Sample text" alt="Sample text" url="http:// [img 123 align =“ center” size =“ full” caption =“示例文本” title =“示例文本” desc =“示例文本” alt =“示例文本” url =“ http:// example.com/"]example.com/“] code> pre>It’s supports srcset and sizes parameters.它支持 srcset code>和 sizes code>参数。 p>Tips & Tricks提示和技巧 h4>You can use your own html template file for displaying the img tag by using filter:您可以使用自己的HTML模板文件通过使用过滤器来显示 img code>标记: p>add_filter( 'Clearcode\IMG_Shortcode\template', function() { return '/themes/clearcode.cc/templates/img.php'; } ); add_filter('Clearcode \ IMG_Shortcode \ template',function(){return'/themes/clearcode.cc/templates/img.php';}); code> pre>
It’s also enables adding new media to post/page via the ‘Add media’ button by automatically inserting the formatted shortcode code to the editor.
通过自动将格式化的短代码插入到编辑器中,还可以通过“添加媒体”按钮将新媒体添加到帖子/页面中。
You can simply add the [img] shortcode with a media ID to display:
您只需添加带有媒体ID的 [img] code>短代码即可显示: p>[img 123] [img 123] code> pre>or a fully formatted [img] shortcode:或完全格式化的 [img] code>简码: p>[img 123 align="center" size="full" caption="Sample text" title="Sample text" desc="Sample text" alt="Sample text" url="http:// [img 123 align =“ center” size =“ full” caption =“示例文本” title =“示例文本” desc =“示例文本” alt =“示例文本” url =“ http:// example.com/"]example.com/“] code> pre>It’s supports srcset and sizes parameters.它支持 srcset code>和 sizes code>参数。 p>Tips & Tricks提示和技巧 h4>You can use your own html template file for displaying the img tag by using filter:您可以使用自己的HTML模板文件通过使用过滤器来显示 img code>标记: p>add_filter( 'Clearcode\IMG_Shortcode\template', function() { return '/themes/clearcode.cc/templates/img.php'; } ); add_filter('Clearcode \ IMG_Shortcode \ template',function(){return'/themes/clearcode.cc/templates/img.php';}); code> pre>
[img] code>短代码即可显示: p>[img 123] [img 123] code> pre>or a fully formatted [img] shortcode:或完全格式化的 [img] code>简码: p>[img 123 align="center" size="full" caption="Sample text" title="Sample text" desc="Sample text" alt="Sample text" url="http:// [img 123 align =“ center” size =“ full” caption =“示例文本” title =“示例文本” desc =“示例文本” alt =“示例文本” url =“ http:// example.com/"]example.com/“] code> pre>It’s supports srcset and sizes parameters.它支持 srcset code>和 sizes code>参数。 p>Tips & Tricks提示和技巧 h4>You can use your own html template file for displaying the img tag by using filter:您可以使用自己的HTML模板文件通过使用过滤器来显示 img code>标记: p>add_filter( 'Clearcode\IMG_Shortcode\template', function() { return '/themes/clearcode.cc/templates/img.php'; } ); add_filter('Clearcode \ IMG_Shortcode \ template',function(){return'/themes/clearcode.cc/templates/img.php';}); code> pre>
[img 123] [img 123] code> pre>or a fully formatted [img] shortcode:或完全格式化的 [img] code>简码: p>[img 123 align="center" size="full" caption="Sample text" title="Sample text" desc="Sample text" alt="Sample text" url="http:// [img 123 align =“ center” size =“ full” caption =“示例文本” title =“示例文本” desc =“示例文本” alt =“示例文本” url =“ http:// example.com/"]example.com/“] code> pre>It’s supports srcset and sizes parameters.它支持 srcset code>和 sizes code>参数。 p>Tips & Tricks提示和技巧 h4>You can use your own html template file for displaying the img tag by using filter:您可以使用自己的HTML模板文件通过使用过滤器来显示 img code>标记: p>add_filter( 'Clearcode\IMG_Shortcode\template', function() { return '/themes/clearcode.cc/templates/img.php'; } ); add_filter('Clearcode \ IMG_Shortcode \ template',function(){return'/themes/clearcode.cc/templates/img.php';}); code> pre>
[img 123]
code> pre>
or a fully formatted [img] shortcode:
或完全格式化的 [img] code>简码: p>[img 123 align="center" size="full" caption="Sample text" title="Sample text" desc="Sample text" alt="Sample text" url="http:// [img 123 align =“ center” size =“ full” caption =“示例文本” title =“示例文本” desc =“示例文本” alt =“示例文本” url =“ http:// example.com/"]example.com/“] code> pre>It’s supports srcset and sizes parameters.它支持 srcset code>和 sizes code>参数。 p>Tips & Tricks提示和技巧 h4>You can use your own html template file for displaying the img tag by using filter:您可以使用自己的HTML模板文件通过使用过滤器来显示 img code>标记: p>add_filter( 'Clearcode\IMG_Shortcode\template', function() { return '/themes/clearcode.cc/templates/img.php'; } ); add_filter('Clearcode \ IMG_Shortcode \ template',function(){return'/themes/clearcode.cc/templates/img.php';}); code> pre>
[img] code>简码: p>[img 123 align="center" size="full" caption="Sample text" title="Sample text" desc="Sample text" alt="Sample text" url="http:// [img 123 align =“ center” size =“ full” caption =“示例文本” title =“示例文本” desc =“示例文本” alt =“示例文本” url =“ http:// example.com/"]example.com/“] code> pre>It’s supports srcset and sizes parameters.它支持 srcset code>和 sizes code>参数。 p>Tips & Tricks提示和技巧 h4>You can use your own html template file for displaying the img tag by using filter:您可以使用自己的HTML模板文件通过使用过滤器来显示 img code>标记: p>add_filter( 'Clearcode\IMG_Shortcode\template', function() { return '/themes/clearcode.cc/templates/img.php'; } ); add_filter('Clearcode \ IMG_Shortcode \ template',function(){return'/themes/clearcode.cc/templates/img.php';}); code> pre>
[img 123 align="center" size="full" caption="Sample text" title="Sample text" desc="Sample text" alt="Sample text" url="http:// [img 123 align =“ center” size =“ full” caption =“示例文本” title =“示例文本” desc =“示例文本” alt =“示例文本” url =“ http:// example.com/"]example.com/“] code> pre>It’s supports srcset and sizes parameters.它支持 srcset code>和 sizes code>参数。 p>Tips & Tricks提示和技巧 h4>You can use your own html template file for displaying the img tag by using filter:您可以使用自己的HTML模板文件通过使用过滤器来显示 img code>标记: p>add_filter( 'Clearcode\IMG_Shortcode\template', function() { return '/themes/clearcode.cc/templates/img.php'; } ); add_filter('Clearcode \ IMG_Shortcode \ template',function(){return'/themes/clearcode.cc/templates/img.php';}); code> pre>
[img 123 align =“ center” size =“ full” caption =“示例文本” title =“示例文本” desc =“示例文本” alt =“示例文本” url =“ http:// example.com/"]example.com/“]
example.com/"]
example.com/“]
It’s supports srcset and sizes parameters.
srcset
sizes
它支持 srcset code>和 sizes code>参数。 p>Tips & Tricks提示和技巧 h4>You can use your own html template file for displaying the img tag by using filter:您可以使用自己的HTML模板文件通过使用过滤器来显示 img code>标记: p>add_filter( 'Clearcode\IMG_Shortcode\template', function() { return '/themes/clearcode.cc/templates/img.php'; } ); add_filter('Clearcode \ IMG_Shortcode \ template',function(){return'/themes/clearcode.cc/templates/img.php';}); code> pre>
srcset code>和 sizes code>参数。 p>Tips & Tricks提示和技巧 h4>You can use your own html template file for displaying the img tag by using filter:您可以使用自己的HTML模板文件通过使用过滤器来显示 img code>标记: p>add_filter( 'Clearcode\IMG_Shortcode\template', function() { return '/themes/clearcode.cc/templates/img.php'; } ); add_filter('Clearcode \ IMG_Shortcode \ template',function(){return'/themes/clearcode.cc/templates/img.php';}); code> pre>
sizes code>参数。 p>Tips & Tricks提示和技巧 h4>You can use your own html template file for displaying the img tag by using filter:您可以使用自己的HTML模板文件通过使用过滤器来显示 img code>标记: p>add_filter( 'Clearcode\IMG_Shortcode\template', function() { return '/themes/clearcode.cc/templates/img.php'; } ); add_filter('Clearcode \ IMG_Shortcode \ template',function(){return'/themes/clearcode.cc/templates/img.php';}); code> pre>
You can use your own html template file for displaying the img tag by using filter:
img
您可以使用自己的HTML模板文件通过使用过滤器来显示 img code>标记: p>add_filter( 'Clearcode\IMG_Shortcode\template', function() { return '/themes/clearcode.cc/templates/img.php'; } ); add_filter('Clearcode \ IMG_Shortcode \ template',function(){return'/themes/clearcode.cc/templates/img.php';}); code> pre>
img code>标记: p>add_filter( 'Clearcode\IMG_Shortcode\template', function() { return '/themes/clearcode.cc/templates/img.php'; } ); add_filter('Clearcode \ IMG_Shortcode \ template',function(){return'/themes/clearcode.cc/templates/img.php';}); code> pre>
add_filter( 'Clearcode\IMG_Shortcode\template', function() { return '/themes/clearcode.cc/templates/img.php'; } ); add_filter('Clearcode \ IMG_Shortcode \ template',function(){return'/themes/clearcode.cc/templates/img.php';}); code> pre>
add_filter('Clearcode \ IMG_Shortcode \ template',function(){return'/themes/clearcode.cc/templates/img.php';});
ol>
The plugin can be activated and used for just about any use case.
可以激活该插件并将其用于几乎所有用例。 p>
ul>
原文出处:http://www.sanshu.cn/a/6711.html
群主管理都是支付大佬