[wordpress插件] COP PDF Attachment MenuCOP PDF附件菜单

wordpress 插件 文章 2020-04-02 17:20 534 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Adds a shortcode [pdfmenu] and a widget that defaults to displaying an unordered list of all pdf’s attached to the current page or post.

添加一个简码[pdfmenu]和一个小部件,默认情况下,该小部件将显示当前页面或帖子所附的所有pdf文件的无序列表。

There are options for both altering the query to return a different set of attachments and for formatting the output.

有一些选项可用于更改查询以返回不同的附件集,以及用于格式化输出。

This plugin should always default to:

此插件应始终默认为:

        

      

    The attachments will be ordered by date in the ascending order by default.

    默认情况下,附件将按日期升序排列。

    Shortcode Options include:

    Shortcode选项包括:

      • Change list types ol, li, div (nested divs).
      • 更改列表类型ol,li,div(嵌套div)。

          • [pdfmenu list_type=”ul”]
          • [pdfmenu list_type =” ul”]

          • [pdfmenu list_type=”ol”]
          • [pdfmenu list_type =” ol”]

          • [pdfmenu list_type=”div”]
          • [pdfmenu list_type =” div”]

        • Set a different class on the container.
        • 在容器上设置其他类。

            • [pdfmenu class=”differentclass”]
            • [pdfmenu class =“ differentclass”]

          • Set a different target.
          • 设置其他目标。

              • [pdfmenu target=”differenttarget”]
              • [pdfmenu target =“不同的目标”]

            • Get a list of pdfs from a different parent.
            • 获取其他父母的pdf列表。

                • [pdfmenu post_parent=”1″]
                • [pdfmenu post_parent =” 1”]

              • Change the number of pdfs to return.

              • 更改要返回的pdf数量。

                (currently no paging).

              • (目前没有分页)。

                  • [pdfmenu numberposts=”-1″] (returns all attachments)
                  • [pdfmenu numberposts =”-1”](返回所有附件)

                • Change the post_mime_type to query for a different type or multiple types.
                • 更改post_mime_type以查询其他类型或多种类型。

                    • [pdfmenu post_mime_type=”application/zip”]
                    • [pdfmenu post_mime_type =” application / zip”]

                  • Force download of the attachments
                  • 强制下载附件

                      • [pdfmenu dowload=”all”] (force download of all listed attachments)
                      • [pdfmenu dowload =” all”](强制下载所有列出的附件)

                      • [pdfmenu dowload=”application/pdf”] (force download of a single mime type)
                      • [pdfmenu dowload =” application / pdf”](强制下载一种哑剧类型)

                    Widget Options include all of the shortcode options and add some selectors for altering the query and output.

                    窗口小部件选项包括所有的简码选项,并添加了一些用于更改查询和输出的选择器。

安装步骤

Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.

解压缩该zip文件,然后将其内容拖放到WordPress安装的wp-content / plugins /目录中,然后激活“来自插件的插件”页面。

下载地址
https://downloads.wordpress.org/plugin/cop-pdf-attachment-menu.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Child Order子订单
[wordpress插件] akWPLightboxakWPLightbox
[wordpress插件] CM Map LocationsCM地图位置
[wordpress插件] Biographical Info Paragraphed履历资料已分段
[wordpress插件] Beam光束
随便看看
怎么添加小程序支付功能? 4516
教育科技公司申请微信支付被拒绝? 4798
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793