[wordpress插件] DG AccordianDG手风琴

wordpress 插件 文章 2020-04-16 14:21 0 202 全屏看文
评分
100
描述

This plugin help you to make accordian of post type, category, tags, taxonomy etc. You can also customize template of this plugin.

此插件可帮助您制作帖子类型,类别,标签,分类法等的手风琴。您还可以自定义此插件的模板。

Some demo shortcode of this plugin

此插件的一些演示简码

    • “[dg_accordian post_type=”post” posts_per_page=”3″][/dg_accordian]” is demo shortcode.
    • “ [dg_accordian post_type =” post” posts_per_page =“ 3”] [/ dg_accordian]”是演示短代码。

    • “post_type” set post type posts value to this shortcodes.
    • “ post_type”将帖子类型的帖子值设置为此简码。

    • “posts_per_page” set no of post show from this shortcode.
    • “ posts_per_page”设置此短代码中的帖子显示次数。

    • “category” is also attribute of shortcode
    • “类别”也是简码的属性

    You can put all WP_Query arguments to this shortcode.

    您可以将所有WP_Query参数放在此短代码中。

    A brief Markdown Example

    一个简短的Markdown示例

    Ordered list:

    订购清单:

      1. Post Type Accordian
      2. 职位类型Accordian

      3. Category Accordian
      4. 类别Accordian

      5. Post Per Page Accordian
      6. 每页Accordian帖子

      7. Multiple Category
      8. 多个类别

      9. All WP_Query Arguments accepts by this plugins
      10. 此插件接受所有WP_Query自变量

安装步骤

    1. Download the plugin and extract the files
    2. 下载插件并提取文件

    3. Upload “dg-accordian” to your wp-

    4. 将“ dg-accordian”上传到您的wp-

      content/plugins/directory

    5. 内容/插件/目录

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

    8. Put shortcode to anywhere [dg_accordian post_type=”post” posts_per_page=”3″][/dg_accordian]
    9. 将简码放置到任何地方[dg_accordian post_type =” post” posts_per_page =” 3”] [/ dg_accordian]

    10. Also you can change attribute of shortcode as you needed.
    11. 您还可以根据需要更改简码的属性。

下载地址
https://downloads.wordpress.org/plugin/dg-accordian.1.1.0.zip
-EOF-