[wordpress插件] Attach Files Widget附加文件小部件

wordpress 插件 文章 2020-02-22 19:50 479 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Simple attachment widget that uses native WordPress upload manager to add files link widgets to your site.

使用本机WordPress上传管理器向您的网站添加文件链接小部件的简单附件小部件。

    • Title and Description
    • 标题和描述

    • Attach Existing Files
    • 附加现有文件

    • Upload New files
    • 上传新文件

    • Sort files
    • 排序文件

    Documentation

    文档

    Press “Add attachment” button.

    按“添加附件”按钮。

    Upload or choose exists file.

    上传或选择现有文件。

    Add title or description for file.

    添加文件的标题或描述。

    Press “Insert Into Widget”.

    按“插入小部件”。

    To remove attachment press “x” link.

    要删除附件,请按“ x”链接。

    At any post or page you can use shortcode [widget_attachments] to display widget content.

    在任何帖子或页面上,您都可以使用简码[widget_attachments]显示小部件内容。

    Available params:
     

    可用参数:
     

    id – Widget ID (You can see at widget)
     

    id –小部件ID(您可以在小部件中看到)
     

    limit – How many items can be showed

    限制–可以显示多少个项目

    Example: [widget_attachments id=”3″ limit=5] It will show 5 attached files from Widget ID equal 3;

    示例:[widget_attachments id =” 3” limit = 5]它将显示来自Widget ID等于3的5个附件文件;

安装步骤

Install

安装

    1. In your WordPress administration, go to the Plugins page
    2. 在您的WordPress管理中,转到“插件”页面

    3. Activate the Image Widget plugin and a subpage for the plugin will appear

    4. 激活Image Widget插件,将出现该插件的子页面

      in your Manage menu.

    5. 在“管理”菜单中。

    6. Go to the Appearance > Widget page and place the widget in your sidebar in the Design
    7. 转到“外观”>“小部件”页面,然后将该小部件放在“设计”的侧边栏中。

    If you find any bugs or have any ideas, please mail me.

    如果您发现任何错误或有任何想法,请给我发邮件。

    Requirements

    要求

      • PHP 5.1 or above
      • PHP 5.1或更高版本

      • WordPress 3.5.1 or above
      • WordPress 3.5.1或更高版本

下载地址
https://downloads.wordpress.org/plugin/attach-files-widget.zip
-EOF-

AI助手支持GPT4.0