tarosky/tscf

Tarosky's custom field manager.

Maintainers

Package info

github.com/tarosky/tscf

pkg:composer/tarosky/tscf

Transparency log

Statistics

Installs: 547

Dependents: 1

Suggesters: 0

Stars: 9

Open Issues: 9

2.1.0 2026-07-07 03:24 UTC

README

Contributors: Takahashi_Fumiki, tarosky
Tags: custom field
Tested up to: 6.5
Stable tag: 1.2.0
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.txt

TaroSky's Custom Field manager. Scalable, Well-Structured and Maintainable. Requires PHP5.4 or later.

Description

Custom fields are stuff box for WordPress. They can store almost everything. Number, Date, CSV and nested array.

Besides that, custom fields can be used for many purpose.

  • To display extra information for posts.
  • To sort posts by their event date.
  • To hide posts from unregistered user.

Thus, they can be easily uncontrollable.

TSCF provides scalable way. A JSON file indicates what custom fields should be and you can get their value.

You can maintain it on VCS like git or svn.

Additional features:

  • Supports child theme. you can override config file.
  • JSON editor. But we don't recommend it. Don't edit it directly on production environment.

Installation

  1. Upload the plugin files to the /wp-content/plugins/tscf directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. If JSON doesn't exist, put it or create from Appearance > Custom Fields Config.

We also host this plugin on github, build like below. composer and npm are required.

# Move to your plugin directory.
cd wp-content/plugins
# Clone repo.
git clone git@github.com:tarosky/tscf.git
# Buidl plugin.
cd tscf
composer install
npm install
npm run package
# If you want watch assets, run watch.
npm run watch

Of course, any pull requests are welcomed :)

Frequently Asked Questions

I founded a bug.

Please make issue on github.

Screenshots

W.I.P

Changelog

2.1.0

  • Add support for term meta fields. Taxonomy edit screens (e.g. category, tag) can now show and save TSCF fields, selectable as "term" type from Custom Field Config.
  • Add support for nested (repeater) iterator fields. Iterators can now contain other iterators, with no nesting limit.
  • Fix: the options editor UI (checkbox/radio/select) was not shown for iterator child fields.
  • Fix: incremental search results for "select from posts" fields were cached for several minutes, showing stale/empty results after a no-hit search.
  • Add a note about theme write permissions affecting the "Custom Field Config" menu.

1.1.1

  • Fix fatal error on composer loading.

1.1.0

  • Composer ready.

1.0.0

  • Initial release.