AI助手支持GPT4.0
The Display Terms Shortcode was written to allow users to easily display listings of terms without knowing PHP or editing template files.
编写显示术语简码是为了使用户可以轻松显示术语列表,而无需了解PHP或编辑模板文件。 p>
Add the shortcode in a post, page or widget and use the arguments to query based on tag, category, post type, and many other possibilities.
在帖子,页面或小部件中添加简码,并使用参数根据标签,类别,帖子类型和许多其他可能性进行查询。
You can also customize the output with parameters like: include, child_of, and show_image.
您还可以使用诸如include,child_of和show_image之类的参数来自定义输出。 p>
To use the shortcode, simply place the [display-terms] shortcode in any post, page or widget and change the parameters to your liking.
[display-terms]
要使用简码,只需将 [display-terms] code>简码放置在任何帖子,页面或小部件中,然后根据自己的喜好更改参数。 p>Available parameters (and defaults):可用参数(和默认值): h4>taxonomy => ‘category’ taxonomy =>“类别” li>orderby => ‘name’ orderby =>“名称” li>order => ‘ASC’ order =>“ ASC” li>hide_empty=> true hide_empty => true li>include => ‘all’ include =>“全部” li>exclude => ‘all’排除=>“全部” li>exclude_tree => ‘all’ exclude_tree =>“全部” li>number => false number => false li>offset => ” offset =>” li>fields => ‘all’ fields =>‘all’ li>name => ” name =>” li>slug => ” slug =>” li>hierarchical => true hierarchical => true li>search => ” search =>” li>name__like=> ” name__like =>” li>description__like => ” description__like =>” li>pad_counts=> false pad_counts =>假 li>get => ” get =>” li>child_of => false child_of =>假 li>childless => false无子=>假 li>cache_domain => ‘core’ cache_domain =>“核心” li>update_term_meta_cache => true update_term_meta_cache =>是 li>meta_query=> ” meta_query =>” li>meta_key => array() meta_key => array() li>meta_value=> ” meta_value =>” li>show_link => true show_link => true li>show_name => true show_name => true li>show_description => false show_description =>假 li>show_count=> false show_count => false li>show_image=> true show_image => true li>image_size=> ‘full’ image_size =>“已满” li>post_type => ‘post’, post_type =>“发布”, li>post_include => [], post_include => [], li>post_exclude => [], post_exclude => [], li>post_order=> ‘DESC’, post_order =>“ DESC”, li>post_orderby => ‘modified’, post_orderby =>“已修改”, li>number_to_search => 10, number_to_search => 10, li>parent_element => ‘ul’, parent_element =>“ ul”, li>child_element => ‘li’, child_element =>“ li”, li>class_prefix => ‘terms’, class_prefix =>“条款”, li> ul>Available filters可用的过滤器 h4>Every line of output in this plugin runs through a filter.此插件中的每一行输出都通过一个过滤器。 p>display_terms_shortcode_open display_terms_shortcode_opendisplay_terms_shortcode_inner_opendisplay_terms_shortcode_inner_opendisplay_terms_shortcode_link_opendisplay_terms_shortcode_link_opendisplay_terms_shortcode_namedisplay_terms_shortcode_namedisplay_terms_shortcode_descriptiondisplay_terms_shortcode_descriptiondisplay_terms_shortcode_countdisplay_terms_shortcode_countdisplay_terms_shortcode_latestdisplay_terms_shortcode_latestdisplay_terms_shortcode_image_iddisplay_terms_shortcode_image_iddisplay_terms_shortcode_imagedisplay_terms_shortcode_imagedisplay_terms_shortcode_link_closedisplay_terms_shortcode_link_closedisplay_terms_shortcode_inner_closedisplay_terms_shortcode_inner_closedisplay_terms_shortcode_closedisplay_terms_shortcode_closedisplay_terms_shortcode_outputdisplay_terms_shortcode_output code> pre>Featured images精选图片 h4>If the show_image parameter is set to true, the shortcode will look for the featured image of the latest post in the term.如果将 show_image code>参数设置为 true code>,则简码将查找该术语中最新帖子的特色图片。You can change the size of the featured image with the image_size attribute.您可以使用 image_size code>属性更改特色图片的大小。 p>Contributing贡献 h3>Feature suggestions and pull requests are welcome at this plugins Github repository – https://github.com/seothemes/display-terms-shortcode/欢迎在此插件Github存储库中提出功能建议和请求请求– https://github.com/seothemes/display-terms-shortcode/ p>Before submitting a pull request please run translations using the following command (wp cli required):在提交请求之前,请使用以下命令运行翻译(需要wp cli): p>wp i18n make-pot ./ ./languages/display-terms-shortcode.pot wp i18n Make-pot ./ ./languages/display-terms-shortcode.pot code> pre>
[display-terms] code>简码放置在任何帖子,页面或小部件中,然后根据自己的喜好更改参数。 p>Available parameters (and defaults):可用参数(和默认值): h4>taxonomy => ‘category’ taxonomy =>“类别” li>orderby => ‘name’ orderby =>“名称” li>order => ‘ASC’ order =>“ ASC” li>hide_empty=> true hide_empty => true li>include => ‘all’ include =>“全部” li>exclude => ‘all’排除=>“全部” li>exclude_tree => ‘all’ exclude_tree =>“全部” li>number => false number => false li>offset => ” offset =>” li>fields => ‘all’ fields =>‘all’ li>name => ” name =>” li>slug => ” slug =>” li>hierarchical => true hierarchical => true li>search => ” search =>” li>name__like=> ” name__like =>” li>description__like => ” description__like =>” li>pad_counts=> false pad_counts =>假 li>get => ” get =>” li>child_of => false child_of =>假 li>childless => false无子=>假 li>cache_domain => ‘core’ cache_domain =>“核心” li>update_term_meta_cache => true update_term_meta_cache =>是 li>meta_query=> ” meta_query =>” li>meta_key => array() meta_key => array() li>meta_value=> ” meta_value =>” li>show_link => true show_link => true li>show_name => true show_name => true li>show_description => false show_description =>假 li>show_count=> false show_count => false li>show_image=> true show_image => true li>image_size=> ‘full’ image_size =>“已满” li>post_type => ‘post’, post_type =>“发布”, li>post_include => [], post_include => [], li>post_exclude => [], post_exclude => [], li>post_order=> ‘DESC’, post_order =>“ DESC”, li>post_orderby => ‘modified’, post_orderby =>“已修改”, li>number_to_search => 10, number_to_search => 10, li>parent_element => ‘ul’, parent_element =>“ ul”, li>child_element => ‘li’, child_element =>“ li”, li>class_prefix => ‘terms’, class_prefix =>“条款”, li> ul>Available filters可用的过滤器 h4>Every line of output in this plugin runs through a filter.此插件中的每一行输出都通过一个过滤器。 p>display_terms_shortcode_open display_terms_shortcode_opendisplay_terms_shortcode_inner_opendisplay_terms_shortcode_inner_opendisplay_terms_shortcode_link_opendisplay_terms_shortcode_link_opendisplay_terms_shortcode_namedisplay_terms_shortcode_namedisplay_terms_shortcode_descriptiondisplay_terms_shortcode_descriptiondisplay_terms_shortcode_countdisplay_terms_shortcode_countdisplay_terms_shortcode_latestdisplay_terms_shortcode_latestdisplay_terms_shortcode_image_iddisplay_terms_shortcode_image_iddisplay_terms_shortcode_imagedisplay_terms_shortcode_imagedisplay_terms_shortcode_link_closedisplay_terms_shortcode_link_closedisplay_terms_shortcode_inner_closedisplay_terms_shortcode_inner_closedisplay_terms_shortcode_closedisplay_terms_shortcode_closedisplay_terms_shortcode_outputdisplay_terms_shortcode_output code> pre>Featured images精选图片 h4>If the show_image parameter is set to true, the shortcode will look for the featured image of the latest post in the term.如果将 show_image code>参数设置为 true code>,则简码将查找该术语中最新帖子的特色图片。You can change the size of the featured image with the image_size attribute.您可以使用 image_size code>属性更改特色图片的大小。 p>Contributing贡献 h3>Feature suggestions and pull requests are welcome at this plugins Github repository – https://github.com/seothemes/display-terms-shortcode/欢迎在此插件Github存储库中提出功能建议和请求请求– https://github.com/seothemes/display-terms-shortcode/ p>Before submitting a pull request please run translations using the following command (wp cli required):在提交请求之前,请使用以下命令运行翻译(需要wp cli): p>wp i18n make-pot ./ ./languages/display-terms-shortcode.pot wp i18n Make-pot ./ ./languages/display-terms-shortcode.pot code> pre>
ul>
Every line of output in this plugin runs through a filter.
此插件中的每一行输出都通过一个过滤器。 p>
display_terms_shortcode_open display_terms_shortcode_opendisplay_terms_shortcode_inner_opendisplay_terms_shortcode_inner_opendisplay_terms_shortcode_link_opendisplay_terms_shortcode_link_opendisplay_terms_shortcode_namedisplay_terms_shortcode_namedisplay_terms_shortcode_descriptiondisplay_terms_shortcode_descriptiondisplay_terms_shortcode_countdisplay_terms_shortcode_countdisplay_terms_shortcode_latestdisplay_terms_shortcode_latestdisplay_terms_shortcode_image_iddisplay_terms_shortcode_image_iddisplay_terms_shortcode_imagedisplay_terms_shortcode_imagedisplay_terms_shortcode_link_closedisplay_terms_shortcode_link_closedisplay_terms_shortcode_inner_closedisplay_terms_shortcode_inner_closedisplay_terms_shortcode_closedisplay_terms_shortcode_closedisplay_terms_shortcode_outputdisplay_terms_shortcode_output code> pre>Featured images精选图片 h4>If the show_image parameter is set to true, the shortcode will look for the featured image of the latest post in the term.如果将 show_image code>参数设置为 true code>,则简码将查找该术语中最新帖子的特色图片。You can change the size of the featured image with the image_size attribute.您可以使用 image_size code>属性更改特色图片的大小。 p>Contributing贡献 h3>Feature suggestions and pull requests are welcome at this plugins Github repository – https://github.com/seothemes/display-terms-shortcode/欢迎在此插件Github存储库中提出功能建议和请求请求– https://github.com/seothemes/display-terms-shortcode/ p>Before submitting a pull request please run translations using the following command (wp cli required):在提交请求之前,请使用以下命令运行翻译(需要wp cli): p>wp i18n make-pot ./ ./languages/display-terms-shortcode.pot wp i18n Make-pot ./ ./languages/display-terms-shortcode.pot code> pre>
display_terms_shortcode_opendisplay_terms_shortcode_inner_opendisplay_terms_shortcode_inner_opendisplay_terms_shortcode_link_opendisplay_terms_shortcode_link_opendisplay_terms_shortcode_namedisplay_terms_shortcode_namedisplay_terms_shortcode_descriptiondisplay_terms_shortcode_descriptiondisplay_terms_shortcode_countdisplay_terms_shortcode_countdisplay_terms_shortcode_latestdisplay_terms_shortcode_latestdisplay_terms_shortcode_image_iddisplay_terms_shortcode_image_iddisplay_terms_shortcode_imagedisplay_terms_shortcode_imagedisplay_terms_shortcode_link_closedisplay_terms_shortcode_link_closedisplay_terms_shortcode_inner_closedisplay_terms_shortcode_inner_closedisplay_terms_shortcode_closedisplay_terms_shortcode_closedisplay_terms_shortcode_outputdisplay_terms_shortcode_output
display_terms_shortcode_inner_open
display_terms_shortcode_link_open
display_terms_shortcode_name
display_terms_shortcode_description
display_terms_shortcode_count
display_terms_shortcode_latest
display_terms_shortcode_image_id
display_terms_shortcode_image
display_terms_shortcode_link_close
display_terms_shortcode_inner_close
display_terms_shortcode_close
display_terms_shortcode_output
code> pre>
If the show_image parameter is set to true, the shortcode will look for the featured image of the latest post in the term.
show_image
true
如果将 show_image code>参数设置为 true code>,则简码将查找该术语中最新帖子的特色图片。You can change the size of the featured image with the image_size attribute.您可以使用 image_size code>属性更改特色图片的大小。 p>Contributing贡献 h3>Feature suggestions and pull requests are welcome at this plugins Github repository – https://github.com/seothemes/display-terms-shortcode/欢迎在此插件Github存储库中提出功能建议和请求请求– https://github.com/seothemes/display-terms-shortcode/ p>Before submitting a pull request please run translations using the following command (wp cli required):在提交请求之前,请使用以下命令运行翻译(需要wp cli): p>wp i18n make-pot ./ ./languages/display-terms-shortcode.pot wp i18n Make-pot ./ ./languages/display-terms-shortcode.pot code> pre>
show_image code>参数设置为 true code>,则简码将查找该术语中最新帖子的特色图片。You can change the size of the featured image with the image_size attribute.您可以使用 image_size code>属性更改特色图片的大小。 p>Contributing贡献 h3>Feature suggestions and pull requests are welcome at this plugins Github repository – https://github.com/seothemes/display-terms-shortcode/欢迎在此插件Github存储库中提出功能建议和请求请求– https://github.com/seothemes/display-terms-shortcode/ p>Before submitting a pull request please run translations using the following command (wp cli required):在提交请求之前,请使用以下命令运行翻译(需要wp cli): p>wp i18n make-pot ./ ./languages/display-terms-shortcode.pot wp i18n Make-pot ./ ./languages/display-terms-shortcode.pot code> pre>
true code>,则简码将查找该术语中最新帖子的特色图片。You can change the size of the featured image with the image_size attribute.您可以使用 image_size code>属性更改特色图片的大小。 p>Contributing贡献 h3>Feature suggestions and pull requests are welcome at this plugins Github repository – https://github.com/seothemes/display-terms-shortcode/欢迎在此插件Github存储库中提出功能建议和请求请求– https://github.com/seothemes/display-terms-shortcode/ p>Before submitting a pull request please run translations using the following command (wp cli required):在提交请求之前,请使用以下命令运行翻译(需要wp cli): p>wp i18n make-pot ./ ./languages/display-terms-shortcode.pot wp i18n Make-pot ./ ./languages/display-terms-shortcode.pot code> pre>
You can change the size of the featured image with the image_size attribute.
image_size
您可以使用 image_size code>属性更改特色图片的大小。 p>Contributing贡献 h3>Feature suggestions and pull requests are welcome at this plugins Github repository – https://github.com/seothemes/display-terms-shortcode/欢迎在此插件Github存储库中提出功能建议和请求请求– https://github.com/seothemes/display-terms-shortcode/ p>Before submitting a pull request please run translations using the following command (wp cli required):在提交请求之前,请使用以下命令运行翻译(需要wp cli): p>wp i18n make-pot ./ ./languages/display-terms-shortcode.pot wp i18n Make-pot ./ ./languages/display-terms-shortcode.pot code> pre>
image_size code>属性更改特色图片的大小。 p>Contributing贡献 h3>Feature suggestions and pull requests are welcome at this plugins Github repository – https://github.com/seothemes/display-terms-shortcode/欢迎在此插件Github存储库中提出功能建议和请求请求– https://github.com/seothemes/display-terms-shortcode/ p>Before submitting a pull request please run translations using the following command (wp cli required):在提交请求之前,请使用以下命令运行翻译(需要wp cli): p>wp i18n make-pot ./ ./languages/display-terms-shortcode.pot wp i18n Make-pot ./ ./languages/display-terms-shortcode.pot code> pre>
Feature suggestions and pull requests are welcome at this plugins Github repository – https://github.com/seothemes/display-terms-shortcode/
欢迎在此插件Github存储库中提出功能建议和请求请求– https://github.com/seothemes/display-terms-shortcode/ p>
Before submitting a pull request please run translations using the following command (wp cli required):
在提交请求之前,请使用以下命令运行翻译(需要wp cli): p>
wp i18n make-pot ./ ./languages/display-terms-shortcode.pot wp i18n Make-pot ./ ./languages/display-terms-shortcode.pot code> pre>
wp i18n Make-pot ./ ./languages/display-terms-shortcode.pot
Automatic Plugin Installation
自动插件安装 p>
ol>
Manual Plugin Installation
手动插件安装 p>
原文出处:http://www.sanshu.cn/a/11202.html
群主管理都是支付大佬