[wordpress插件] Display Custom Post显示自定义帖子

wordpress 插件 文章 2020-04-19 09:30 435 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This plugin allow you to show your custom posts in a page / post / custom post within few seconds.

此插件可让您在几秒钟内在页面/帖子/自定义帖子中显示自定义帖子。

You will need to select the custom post type from dropdown and it will provide you shortcode [dcp_show type='your-custom-post-slug'] which you need to put in any post or page in order

您需要从下拉列表中选择自定义帖子类型,这将为您提供短码 [dcp_show type ='your-custom-post-slug'] ,您需要将其按顺序放入任何帖子或页面中

to show custom posts in grid layout.

以网格布局显示自定义帖子。

There are number of attributes that you can use with the provided shortcode.

您可以使用提供的简码使用许多属性。

You can even display default WordPress blog posts with shortcode [dcp_show type=’post’] using same attributes.

您甚至可以使用相同的属性以短代码[dcp_show type =” post”]显示默认的WordPress博客帖子

'>

List of shortcode attributes is given below:

简码属性列表如下:

    • number => Number of posts display on per page
    • number =>每页显示的帖子数

    • order => In what order posts will be displayed, Possible Values: ASC, DESC
    • order =>以什么顺序显示帖子,可能的值:ASC,DESC

    • orderby => Possible values are given below:

    • orderby =>可能的值如下:

        • date – Default value
        • 日期-默认值

        • none – No order
        • 无-没有订单

        • author – Order by author
        • author –按作者排序

        • title – Order by title
        • 标题-按标题排序

        • date – Order by date
        • 日期–按日期排序

        • modified – Order by last modified date
        • 已修改-按上次修改日期排序

        • parent – Order by post/page parent id
        • 父级-按帖子/页面父级ID排序

        • rand – Random order
        • rand –随机订单

        • comment_count – Order by number of comments
        • comment_count –按评论数排序

        • menu_order – Order by Page Order.

        • menu_order –按页面顺序排序。

          Used most often for Pages

        • 最常用于Pages

      Features of Display Custom Post WordPress Plugin:

      显示自定义帖子WordPress插件的功能:

        1. It provide you ready-made grid layout for your every custom post, you may simply have to put shortcode.

        2. 它为您的每个自定义帖子提供了现成的网格布局,您可能只需要输入简码即可。

          That’s it.

        3. 就是这样。

        4. It is mobile responsive as well.

        5. 它也是移动响应的。

        6. You may also put number of posts to be shown, order, orderby etc in shortcode.

        7. 您还可以将要显示的帖子数,订单,orderby等以短码形式显示。

          Please see attributes list above.

        8. 请参阅上面的属性列表。

        9. Also provide Pagination if your total posts are more than ‘number’ attribute.
        10. 如果您的帖子总数超过了“数字”属性,还可以提供分页信息。

        You may contact if you have any query regarding this plugin:

        如果对此插件有任何疑问,可以联系:

        https://technofound.com/

        https://technofound.com/

安装步骤

    1. Upload Display Custom Post to the ‘/wp-content/plugins/’ directory
    2. 将显示自定义帖子上传到“ / wp-content / plugins /”目录

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

    5. Admin Menu –> Display Custom Post
    6. 管理菜单–>显示自定义帖子

下载地址
https://downloads.wordpress.org/plugin/display-custom-post.zip
-EOF-

AI助手支持GPT4.0