Skip to content

v1.0.4 - Field migration & Custom Fields submenu

Choose a tag to compare

@github-actions github-actions released this 14 Apr 04:57
· 11 commits to main since this release

v1.0.4 — 필드 마이그레이션 & Custom Fields 서브메뉴

마이그레이션 로직

  • dwcat_migrate(): 기존 하드코딩 필드를 DB(wp_options)에 자동 시드
  • dwcat_check_version(): 관리자 페이지 로드 시 버전 변경 감지 → 자동 마이그레이션
  • 기존 1.8.0 이하에서 업그레이드해도 필드 설정이 자동 생성됨

Custom Fields 서브메뉴

  • 각 포스트 타입 메뉴(예: Catalog WP) 하위에 Custom Fields 서브메뉴 추가
  • 클릭 시 해당 포스트 타입의 필드 관리 페이지로 이동

필드 관리 플로우

WordPress Admin
├── Catalog WP (포스트 타입 메뉴)
│   ├── All Products
│   ├── Add New
│   ├── Categories / Tags
│   ├── Bulk Import / PDF Export / Field Reference
│   └── Custom Fields ← 클릭하면 필드 관리 페이지
│       ├── Add Field (Label, Meta Key, Type, Options...)
│       ├── Edit Field (드래그 정렬, 수정, 삭제)
│       └── Save Fields → DB 저장 → 메타박스/목록/임포트 즉시 반영