[wordpress插件] CIO Custom Field Groups for PODSPODS的CIO自定义字段组

wordpress 插件 文章 2020-04-08 03:50 841 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Are you already using the awesome PODS plugin to manage your custom content types and fields?

您是否已经使用了很棒的 PODS 插件来管理您的自定义内容类型和字段?

Are you switching from Advanced Custom Fields to PODS but missing the groups and location rules found in Advanced Custom Fields?

您是否从“高级自定义字段”切换到PODS,但缺少在“高级自定义字段”中找到的组和位置规则?

Are you looking for a simple and easy way to present your custom field data on your website in logical blocks?

您是否正在寻找一种简单的方法来以逻辑块形式在您的网站上显示自定义字段数据?

CIO Custom Field Groups for PODS may be the solution you are looking for.

PODS的CIO自定义字段组可能是您正在寻找的解决方案。

It makes PODS even more awesome.

它使PODS更加出色。

PODS is a powerful and flexible framework to manage custom content types and custom fields.

PODS是一个强大而灵活的框架,用于管理自定义内容类型和自定义字段。

Some of PODS’s unique features include

PODS的一些独特功能包括

    • extending WordPress’s builtin content types (user, page, post, media, taxonomy)

      扩展WordPress的内置内容类型(用户,页面,帖子,媒体,分类法)

    • table storage, which is essential for high performance as the number of custom fields increase.

      表存储,随着自定义字段数量的增加,这对于高性能至关重要。

    CIO Custom Field Groups for PODS extends PODS to organize your custom fields into groups quickly and intuitively.

    PODS的CIO自定义字段组扩展了PODS,可将您的自定义字段快速而直观地组织为组。

    This is similar to reading a table of contents from a printed book, when we see a line starting with the word “Chapter” we KNOW it is a chapter and treat it as such.

    这类似于从印刷书籍中读取目录,当我们看到以“ Chapter”一词开头的一行时,我们知道这是一章,因此将其视为一章。

    We can instruct the computer to do the same.

    我们可以指示计算机执行相同的操作。

    The group headers are pods custom fields named with a prefix “cio_section_”.

    组头是使用前缀“ cio_section_”命名的Pod自定义字段。

    Groups are defined by the relevant position of custom fields in pods setting page, so grouping and re-grouping can be done quickly by dragging and dropping meta boxes.

    分组是根据Pod设置页面中自定义字段的相关位置定义的,因此可以通过拖放元框来快速进行分组和重新分组。

    The free version of CIO Custom Field Groups hooks into PODS form to automatically generate a row with label and description only, without input cells.

    CIO自定义字段组的免费版本挂接到PODS表单中,以自动生成仅带有标签和描述的行,而无需输入单元格。

    Output of group header fields in the front end is optional depending on your pods field setting, page template and pods template.

    前端中组标题字段的输出是可选的,具体取决于您的pod字段设置,页面模板和pod模板。

    Custom fields used as group headers are field definition only without any data saved to these fields.

    用作组标题的自定义字段仅是字段定义,而没有任何数据保存到这些字段。

    If you use pods table storage, you may set up group header fields as relationship fields so that such fields will not be created in your data table.

    如果您使用Pod表存储,则可以将组标题字段设置为关系字段,这样就不会在数据表中创建此类字段。

    PHP code is not required to use this plugin.

    使用此插件不需要PHP代码。

    However if you are comfortable with PHP code, you may instantiate the class in this plugin and use class methods to get a multi dimensional array of groups and fields with all the pods field settings.

    但是,如果您熟悉PHP代码,则可以实例化此插件中的类,并使用类方法来获取具有所有pods字段设置的组和字段的多维数组。

    You can then manipulate the custom fields and groups in your page template.

    然后,您可以在页面模板中操作自定义字段和组。

    CIO Custom Field Groups Premium Version

    CIO自定义字段组高级版

    The premium version of CIO Custom Field Groups has the following additional features:

    高级版的CIO自定义字段组具有以下附加功能:

      • Dividing custom fields into groups (under headers) and sub-groups (above footers).

        将自定义字段分为组(在页眉下方)和子组(在页脚上方)。

      • Configuring the header and footer field prefix, if you need to name the fields in a certain way for the database to integrate with other plugins/programs.

        如果需要以某种方式命名字段以使数据库与其他插件/程序集成,请配置页眉和页脚字段前缀。

      • Configuring the header and footer field background in the admin panel, so you will work with your favourite colours.

        在管理面板中配置页眉和页脚字段背景,以便您使用自己喜欢的颜色。

      • Configuring the header and footer field css for frontend display.

        配置页眉和页脚字段css进行前端显示。

      • Setting up restriction access and display conditions similar to location rules of Advanced Custom Fields (ACF).

        设置限制访问和显示条件,类似于“高级自定义字段(ACF)”的位置规则。

        So a group of fields can be displayed on a specified page or post, or pages or posts meeting certain criteria,

        因此,一组字段可以显示在指定的页面或帖子上,或符合某些条件的页面或帖子中,

      • Supporting pods-form short code and field based magic tags enclosed in short code or included in pods template, such as {@my_header}.

        支持以Pod形式包含在Pod代码中或包含在Pod模板中的基于Pod形式的短代码和基于字段的魔术标签,例如{@my_header}。

      • Displaying sections of custom fields according to user roles or capabilities.

        根据用户角色或功能显示自定义字段的各个部分。

        For example, you may collect and display different information if the users are wholesalers.

        例如,如果用户是批发商,则您可能会收集并显示不同的信息。

      • Display sections of custom fields on specified pages only.

        仅在指定页面上显示自定义字段的各个部分。

      • Admin only custom fields.

        仅管理自定义字段。

      CIO Custom Fields and Groups is an add-on to PODS but can be used to group custom fields created with other plugins.

      CIO自定义字段和组是PODS的附加组件,但可用于对使用其他插件创建的自定义字段进行分组。

      You simply expend the post type or custom post type with pods, create custom fields using the same name.

      您只需使用pod扩展帖子类型或自定义帖子类型,使用相同名称创建自定义字段。

      Then you can use the features from Pods or this plugin to present your data already stored.

      然后,您可以使用Pods或此插件中的功能来显示已存储的数据。

      This is achieved by sharing the stored data between your plugin and PODS, thanks to the great work of PODS team.

      通过PODS团队的出色工作,可以通过在插件和PODS之间共享存储的数据来实现这一点。

      Both the free and professional edition works in multisite environment.

      免费版和专业版均可在多站点环境中使用。

      PS: I am releasing the professional edition to the public to raise fund for a long time friend who runs a charity from Australia called Captivating

      PS:我正在向公众发布专业版,以筹集长期资金,该朋友在澳大利亚经营着名为 Captivating的慈善机构。

      .

      Captivating has a dedicated team to help victimised children in developing countries.

      迷人的团队有一个专门的团队来帮助发展中国家的受害儿童。

      CIO Custom Fields and Groups Professional Edition is bundled with extra features and is freely available to supporters of Captivating.

      CIO Custom Fields and Groups Professional Edition捆绑了其他功能,并免费提供给Captivating的支持者。

      If you are willing and able financially, please consider giving to Captivating.

      如果您愿意并且有能力在财务上,请考虑给予“着迷”。

      Any amount is appreciated.

      任何金额表示赞赏。

      Tax deductible receipts are available if you are giving from Australia, US or Hong Kong.

      如果您来自澳大利亚,美国或香港,则可提供免税收据。

      Please check with Captivating about receipts if you are giving from other countries.

      如果您是从其他国家/地区捐赠,请与“着迷”确认。

      CIO Custom Fields and Groups Professional Edition

      CIO自定义字段和组专业版

      is also available for immediate download for a small once-off fee.

      也可以立即下载,而只需一笔小小的费用。

      How does it work

      它如何工作

      We believe things should be as simple and easy as it could be.

      我们认为事情应该尽可能简单和容易。

      We embrace this philosophy in our code and business model.

      我们在代码和业务模型中秉承了这一理念。

      CIO Custom Fields and Groups defines groups by the position of custom fields relevant to a group header, in the same way as groups are displayed in forms or on paper.

      CIO自定义字段和组通过与组标题相关的自定义字段的位置来定义组,其方式与组以表格或纸质形式显示的方式相同。

      Fields beneath a group header belongs to this group.

      组标题下的字段属于该组。

      Similarly, fields above the group footer belongs to the group.

      同样,组页脚上方的字段也属于该组。

      You can use either headers or footers, or both to define groups.

      您可以使用页眉或页脚,或同时使用两者来定义组。

      CIO Custom Fields and Groups professional edition hooks into Pods core files so you can use PODS short code to display an edit form by specifying header or footer names.

      CIO自定义字段和组专业版可以挂接到Pods核心文件中,因此您可以使用PODS短代码通过指定页眉或页脚名称来显示编辑表单。

      [pods-form name="mypod" id="321" headers="0, myheader1, myheader2" footers="myfooter1, myfooter2, 0" ]

        [pods-form name =“ mypod” id =“ 321”标头=“ 0,myheader1,myheader2” footers =“ myfooter1,myfooter2,0”]

      Grouping is optional with CIO Custom Fields and Groups.

      分组对于CIO自定义字段和组是可选的。

      If some fields are grouped and some are not, you can access these ungrouped fields by using a dummy header or footer name “0” (zero), as shown in the example above.

      如上例所示,如果某些字段被分组而另一些字段未被分组,则可以使用虚拟页眉或页脚名称“ 0”(零)访问这些未分组的字段。

      Note headers and footers are used in the short code instead of groups.

      在短代码中使用注释页眉和页脚而不是组。

      This is to avoid confusion with the “group” functionality under development and testing by pods team.

      这是为了避免与Pod团队正在开发和测试的“组”功能混淆。

      CIO Custom Fields and Groups professional edition filters the parameters in the short code, identifies the fields in the group, and passes the field names to PODS to generate a form.

      CIO自定义字段和组专业版将过滤短代码中的参数,标识组中的字段,并将字段名称传递给PODS以生成表单。

      Similarly, CIO Custom Fields and Groups professional edition hooks into Pods to display a header and footer label only without an input cell.

      类似地,CIO自定义字段和组专业版可以挂接到Pods上,以仅在没有输入单元格的情况下显示页眉和页脚标签。

      CIO Custom Fields and Groups uses builtin table structures of WordPress and PODS to define groups.

      CIO自定义字段和组使用WordPress和PODS的内置表结构来定义组。

      No extra taxonomy or data is created.

      没有创建额外的分类法或数据。

      The professional edition of CIO Custom Fields and Groups supports PODS shortcode and magic tags in shortcode template, and in the template component.

      CIO自定义字段和组的专业版在简码模板和模板组件中支持PODS短码和魔术标签。

      To display a group defined by the header field “my_header” from a custom post type called “product” with id 123, you would use the following short code.

      要显示由ID为123的自定义帖子类型“ product”的标题字段“ my_header”定义的组,请使用以下短代码。

      [pods name="product" id=123] {@my_header} [/pods]

        [pods name =“ product” id = 123] {@my_header} [/ pods]

      Alternatively if you enable the component template, you can create a template containing the following line for example

      或者,如果启用组件模板,则可以创建一个包含以下行的模板,例如

      {@my_header}

        
      {@my_header}

      Let’s assume the template is called “my header template”, and then you may use the following short code to display the group.

      假设该模板称为“我的标题模板”,然后您可以使用以下简短代码显示该组。

      [pods name="product" id=123 template="my header template"]

        [pods name =“ product” id = 123 template =“ my header template”]

      Output from pods functions

      pod函数的输出

      $pod->field($my_header): null

      $ pod-> field($ my_header):空

      $pod->fields(): all the fields including header fields

      $ pod-> fields():包括标题字段在内的所有字段

      $pod->display($my_header): null

      $ pod-> display($ my_header):空

      If you are using PODS and in some web pages looping through all fields to display content or form, after you have activated this plugin and created header fields, your existing code should still work without modification.

      如果您使用的是PODS,并且在某些网页中循环浏览所有字段以显示内容或表单,则在激活此插件并创建标题字段之后,现有代码仍可以正常工作而无需修改。

      The header fields will simply display a label for human comprehension.

      标头字段将只显示人类理解的标签。

      When CIO Custom Fields and Groups professional edition is activated, and preset display conditions are met, the custom fields belong to this group will be displayed.

      激活CIO自定义字段和组专业版并满足预设的显示条件时,将显示属于该组的自定义字段。

      When CIO Custom Fields and Groups professional edition is deactivated, the above shortcode simply displays nothing, as no data is ever stored in the special relationship field “my_header”.

      停用CIO自定义字段和组专业版时,由于没有特殊关系字段“ my_header”中的数据存储,因此上面的短代码根本不显示任何内容。

      Please see screen shots for more examples.

      有关更多示例,请参见屏幕截图。

      CIO Custom Fields and Groups Professional Edition comes with

      CIO自定义字段和组专业版随附

        • unlimited site license.

          无限的站点许可证。

          you can use it on as many websites as you like, either owned by you or your clients, or your neighbors, or your friends.

          您可以在任意多个网站上使用它,这些网站可以是您或您的客户,邻居,朋友所拥有的。

        • life time free support, if you have paid an one-off fee to upgrade to professional edition

          终身免费支持,如果您一次性支付了升级到专业版的费用

        • life time free upgrade, if you have paid an one-off fee to upgrade to professional edition

          终身免费升级,如果您一次性支付了升级到专业版的费用

        • 30 day money back guarantee.

          30天退款保证。

          no questions to ask.

          没有问题要问。

        Support

        支持

        We do try to handle support at the following e-mail address:

        我们确实尝试通过以下电子邮件地址处理支持:

        E-mail: support@vipp.com.au

        电子邮件:support@vipp.com.au

安装步骤

To install the CIO Custom Fields and Groups, unzip the downloaded zip file and upload the folder to /wp-content/plugins/, and then activate the plugin from the Plugins page in WordPress.

要安装CIO自定义字段和组,请解压缩下载的zip文件并将其上传到/ wp-content / plugins /,然后从WordPress的“插件”页面激活插件。

If you are using the free plugin and bought the professional edition, please remove the free plugin before installing the professional edition.

如果您正在使用免费插件并购买了专业版,请在安装专业版之前先删除免费插件。

下载地址
https://downloads.wordpress.org/plugin/custom-field-groups-for-pods.1.0.0.zip
-EOF-

AI助手支持GPT4.0