Linux 软件免费装
Banner图

atshift Fields (Maintenance for Custom Field Suite)

开发者 mgibbs189
atshift
更新时间 2026年8月4日 03:22
PHP版本: 5.0 及以上
WordPress版本: 7.0
版权: GPLv2
版权网址: 版权信息

标签

custom fields fields repeater relationship postmeta

下载

3.0.1 3.0.4.1 3.0.0 3.0.4 3.0.4.2 2.6.7.45.1 3.0.3 3.0.3.1 3.0.2.2 3.0.2.3 2.6.7.42.1.10 2.6.7.42.1.8 2.6.7.43 2.6.7.45.3 3.0.2.4 3.0.2.6 2.6.7.45 3.0.1.1 3.0.2.0 3.0.2.1 3.0.2.5 3.0.2.7 3.0.2.8 2.6.7.42.1.7 2.6.7.42.1.9 2.6.7.44 2.6.7.44.0.1 2.6.7.42.1.6 2.6.7.45.2

详情介绍:

atshift Fields is a maintained and extended Custom Field Suite-compatible plugin for WordPress sites that need structured content editing without losing existing CFS data or template compatibility. It preserves the familiar CFS API, including CFS()->get(), while adding security hardening, WordPress/PHP compatibility fixes, and practical tools for clearer admin workflows. Version 3 makes field management much more flexible for content-heavy sites. The redesigned Field Group editor supports nested groups, drag-and-drop editing, responsive layouts, and multilingual admin labels, so large editing screens can be organized in a way that is easier to build, review, and maintain. Tab Groups, Horizontal Groups, Accordion Groups, Conditional Groups, and Loops help divide complex input screens into focused sections, place related fields side by side, show fields only when they are relevant, and manage repeated content cleanly. Version 3 also brings native WordPress fields into field groups, including post title, content, save and publish controls, categories, tags, featured image, and post editing screen display controls. Code View, Shortcode fields, role-aware editing controls, and Classic Meta Box Placement add more options for safer, more flexible real-world editing workflows. For setup instructions, field value output examples, migration notes, and implementation examples, see the atshift Fields documentation site. Things to know Field types Added features in this maintenance build Usage Example: <?php echo esc_html( CFS()->get( 'my_text_field' ) ); ?> For rich text fields, use an appropriate HTML sanitizer such as wp_kses_post(). Tab Group notes Tab Group is a layout field for splitting fields on the post edit screen into tabbed sections. Place a Tab Group before the fields that should appear in that tab. Another Tab Group starts another tab section. Horizontal Group notes Horizontal Group is a layout field for placing multiple child fields side by side on the post edit screen. On narrow screens, the fields stack vertically. Horizontal Groups are intended to contain multiple normal fields. Tabs, Loops, Accordions, Conditional Groups, and other Horizontal Groups cannot be placed inside a Horizontal Group. Accordion Group notes Accordion Group is a layout field for placing child fields inside a collapsible section on the post edit screen. It can be configured to open by default. Tabs cannot be placed inside an Accordion Group. Conditional Group notes Conditional Group is a layout field for displaying different child fields depending on a selected radio button or dropdown choice on the post edit screen. Child fields can be assigned to condition-specific areas in the Field Group editor. Tabs and other Conditional Groups cannot be placed inside a Conditional Group. Classic Meta Box Placement notes Classic Meta Box Placement is a slot field for moving classic third-party meta boxes into a chosen position inside an atshift Fields field group. It does not save CFS field values; saving, nonces, permissions, scripts, and styles remain the responsibility of the original meta box plugin. Block Editor-only panels are not supported. Native WordPress meta boxes and internal CFS meta boxes are shown as not recommended to move. The original meta box header is hidden after placement because the atshift Fields field label and notes provide the heading. Display width can be set to side width (320px), 50%, 75%, or 100%; narrow screens always use 100% width. WordPress native field notes Post Title, Post Content, Save / Publish, Post Categories, Post Tags, and Featured Image edit the native WordPress objects directly. They are not CFS-only post meta fields. For Post Categories, child category selection can also select parent categories, and removing a parent selection removes its child selections. If all categories are removed, WordPress' default category is restored. Security maintenance notes This package includes local security and compatibility hardening on top of the upstream 2.6.7 codebase. The maintenance work addresses known vulnerability classes around Loop field code execution, Term field SQL injection, CFS form title / content stored XSS, and existing post updates through CFS forms without normal edit capability checks. The changes were verified locally against the built-in CFS field types, added field types, and an upgrade path from the original 2.6.7 codebase. This package has also been adjusted for the WordPress.org plugin directory and published through the official WordPress.org SVN release flow. WordPress.org publication is not a substitute for an independent third-party security audit. Redistribution and license This maintenance build is distributed under the GNU General Public License version 2 (GPLv2), the same license as the upstream plugin. You may use, copy, modify, and redistribute this package, including modified versions, under GPLv2. When redistributing this package, keep the GPLv2 license notice, preserve the original author attribution, include the source code, and make clear that this is a maintained and extended build by @shift. Documentation and support

安装:

  1. Back up your files and database before replacing an existing Custom Field Suite installation.
  2. Deactivate the original Custom Field Suite plugin before activating this maintenance build.
  3. Install and activate atshift Fields from the WordPress plugin directory, or upload the plugin folder to /wp-content/plugins/.
  4. Open the atshift Fields / Field Groups admin screen.
  5. Create a Field Group, add fields, and set Placement Rules for the edit screens where it should appear.
  6. Use CFS()->get() in your theme templates to display saved field values.
For detailed guides and examples, see the documentation site.

屏幕截图:

  • Nested field groups using tabs, accordions, conditional groups, loops, and horizontal groups.
  • Dedicated field group inputs displayed on the WordPress page editing screen.
  • Placement rules for post types, post formats, user roles, posts, taxonomy terms, and page templates.
  • Extra display settings for edit-screen layout, native section visibility, and role-based hiding behavior.

常见问题:

Is this the official successor to Custom Field Suite?

No. atshift Fields is an independent, unofficial compatible maintenance and extension build distributed under GPLv2.

Can I replace the original Custom Field Suite with atshift Fields?

In many cases, yes. The plugin preserves the main data structures and API compatibility, but always back up your site and test on staging before replacement.

Does atshift Fields preserve the original Custom Field Suite API?

Yes. It preserves the main APIs used by existing themes, including CFS()->get(), get_field_info(), get_reverse_related(), save(), find_fields(), and form().

Which translations are bundled?

The release package includes bundled translation files for ca, de_DE, en_GB, es_ES, fa_IR, fr_FR, hu_HU, it_IT, ja, ko_KR, nl_NL, pl_PL, pt_BR, ru_RU, tr_TR, zh_CN, and zh_TW.

Where can I find documentation?

See the atshift Fields documentation site for setup guides, output examples, API notes, and implementation examples.

更新日志:

3.0.4.2 3.0.4.1 3.0.4 3.0.3.1 3.0.3 3.0.2.8 3.0.2.7 3.0.2.6 3.0.2.5 3.0.2.4 3.0.2.3 3.0.2.2 3.0.2.1 3.0.2 3.0.1.1 3.0.1 3.0.0