[wordpress插件] DBMaker数据库制作工具

wordpress 插件 文章 2020-04-13 10:40 617 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin make simple database from csv.

此插件可从csv简化数据库。

Import from csv files to custom post type.

从csv文件导入到自定义帖子类型。

features

功能

    • you can make database from csv file
    • 您可以使用csv文件创建数据库

    • import over 10000 records from csv file
    • 从csv文件导入超过10000条记录

    • delete all data records
    • 删除所有数据记录

    • support custom fields and taxonomies
    • 支持自定义字段和分类法

    • sort and search data in backend
    • 在后端排序和搜索数据

    • support shortcode for search form and result list in frontend
    • 在前端支持搜索表单和结果列表的简码

    • import from csv, insert only.

    • 从csv导入,仅插入。

      update record not supported.

    • 不支持更新记录。

    Usage

    用法

    Create Database

    创建数据库

      1. Select DataBase Maker in admin menu.

      2. 在管理菜单中选择“ DataBase Maker”。

        Add new post.

      3. 添加新帖子。

      4. Title is database name, it is displayed admin menu.
      5. 标题是数据库名称,显示在管理菜单中。

      6. Content is frontend search form.

      7. 内容是前端搜索表单。

        If content is empty, default form inserted.

      8. 如果内容为空,则插入默认表单。

      Edit csv settings

      编辑csv设置

        1. post_type is database type
        2. post_type是数据库类型

        3. format is column names order in csv files.

        4. format是csv文件中的列名顺序。

          comma separated.

          逗号分隔。

          see column names

        5. 查看列名

        6. status is default post status.
        7. 状态是默认的帖子状态。

        8. character encoding is csv file’s encodeing
        9. 字符编码是csv文件的编码

        10. “skip lines” : skip n lines
        11. “跳过行”:跳过n行

        12. “public access” is data status.

        13. “公共访问”是数据状态。

          if it is checked, public access from frontend.

        14. 如果选中,则表示从前端进行公共访问。

        15. save post.

        16. 保存帖子。

        Import data from csv file

        从csv文件导入数据

          1. Select your database name in admin menu.
          2. 在管理菜单中选择数据库名称。

          3. Select csv file and push “read csv”, start importing.
          4. 选择csv文件并按“读取csv”,开始导入。

          5. Display progress bar, please wait for a while.
          6. 显示进度栏,请等待一段时间。

          Data operation in admin menu

          管理菜单中的数据操作

            • keyword search target all columns
            • 关键字搜索将所有列定位为目标

            • taxonomy filter supported
            • 支持分类过滤器

            • title, date and custom fields support sorting.
            • 标题,日期和自定义字段支持排序。

            • Delete all data supported
            • 删除所有支持的数据

            Create search form for frontend

            为前端创建搜索表单

              1. Select DataBase Maker, edit database
              2. 选择DataBase Maker,编辑数据库

              3. edit contents, see Short codes
              4. 编辑内容,请参见短代码

              5. save contents then view posts
              6. 保存内容然后查看帖子

              Column names

              列名

                • post_title: title of the post
                • post_title:帖子标题

                • post_author: (login or ID) The user name or user ID number
                • post_author :(登录名或ID)用户名或用户ID号

                • post_date:
                • post_date:

                • post_excerpt:
                • post_excerpt:

                • post_status:
                • post_status:

                • post_password:
                • post_password:

                • post_name:
                • 邮编名:

                • post_parent:
                • post_parent:

                • menu_order:
                • 菜单顺序:

                • tax_{taxonomy}: (string, comma separated) Any field prefixed with tax_ will be used as a custom taxonomy.
                • tax_ {taxonomy} :(字符串,用逗号分隔)任何以tax_为前缀的字段都将用作自定义分类法。

                • {custom_field_key}: Any other column labels used as custom field.
                • {custom_field_key}:用作自定义字段的任何其他列标签。

                Short codes

                短代码

                dbm_search

                dbm_search

                Create form tag for search.

                创建表单标签以进行搜索。

                This code is enclosing.

                这段代码正在附上。

                option

                选项

                  • post_type : required Search database post_type.
                  • post_type:必需搜索数据库post_type。

                  • posts_per_page : default: 5
                  • posts_per_page:默认值:5

                  • pager : This option set not empty string, pager support.

                  • pager:此选项设置为非空字符串,支持寻呼机。

                    default: ”

                  • 默认值:“

                  dbm_tax_checkbox

                  dbm_tax_checkbox

                  Create checkboxes for taxonomy

                  创建分类法复选框

                  option

                  选项

                    • name : requried taxonomy name.(No “tax_” prefix)
                    • 名称:必需的分类名称。(无“ tax_”前缀)

                    dbm_tax_select

                    dbm_tax_select

                    Create select tag for taxonomy.

                    创建分类标签。

                    option

                    选项

                      • name : requried taxonomy name.(No “tax_” prefix)
                      • 名称:必需的分类名称。(无“ tax_”前缀)

                      • multiple : This option set not empty string, multiple select box.

                      • multiple:此选项设置非空字符串,多个选择框。

                        default: ”

                      • 默认值:“

                      • size : Select tag size.
                      • size:选择标签尺寸。

                      dbm_textbox

                      dbm_textbox

                      Create text input box

                      创建文本输入框

                      option

                      选项

                        • name : Set search target column name.

                        • name:设置搜索目标列名称。

                          ‘s’ is target all columns.

                          “ s”定位到所有列。

                          default : ‘s’

                        • 默认值:“ s”

                        • required : true or false.

                        • 必填:是或否。

                          default : ‘false’

                        • 默认值:“ false”

                        dbm_result_table

                        dbm_result_table

                        Display search result table.

                        显示搜索结果表。

                        This code need outside of dbm_search.

                        这段代码需要在dbm_search之外。

                        option

                        选项

                          • label : th tag names, comma separated.
                          • label:标签名称,以逗号分隔。

                          • data : column names, comma separated.
                          • data:列名,用逗号分隔。

                          dbm_result_pager

                          dbm_result_pager

                          Output pager

                          输出寻呼机

                          option

                          选项

                            • label : pager button label.

                            • label:寻呼机按钮标签。

                              default : ‘first, prev, next, last’

                            • 默认值:“第一,上一个,下一个,最后一个”

                            Arbitrary section

                            任意部分

安装步骤

    1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins / plugin-name 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    5. Use the Settings->Plugin Name screen to configure the plugin
    6. 使用“设置”->“插件名称”屏幕来配置插件

    7. (Make your instructions match the desired user flow for activating and installing your plugin. Include any steps that might be needed for explanatory purposes)
    8. (使您的说明与激活和安装插件所需的用户流程相匹配。包括说明性目的可能需要的所有步骤)

下载地址
https://downloads.wordpress.org/plugin/dbmaker.1.1.zip
-EOF-

AI助手支持GPT4.0