WP Manifestindependent plugin directory
manifest / events / wordpress-calendar-plugin-danguy

Lịch công tác Đảng Ủy

Plugin để quản lý và hiển thị lịch công tác Đảng Ủy. Sử dụng shortcode [lich_cong_tac_dang_uy]

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/cuongbkcareer/wordpress-calendar-plugin-danguy/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Plugin Lịch công tác Đảng Ủy

Plugin WordPress để quản lý và hiển thị lịch công tác Đảng Ủy với giao diện Bootstrap 5 và hỗ trợ mobile.

Tính năng

  • ✅ Quản lý lịch công tác theo tuần
  • ✅ Giao diện Bootstrap 5 hiện đại, responsive
  • ✅ Chỉnh sửa inline trực tiếp trên bảng
  • ✅ Thêm/Sửa/Xóa lịch công tác
  • ✅ Hỗ trợ đầy đủ quyền cho Author role
  • ✅ REST API endpoints để tích hợp

Cài đặt

  1. Tải plugin về và giải nén vào thư mục wp-content/plugins/
  2. Kích hoạt plugin trong WordPress Admin
  3. Sử dụng shortcode [lich_cong_tac_dang_uy] để hiển thị lịch

Sử dụng

Shortcode

[lich_cong_tac_dang_uy]

Quyền truy cập

  • Admin: Có thể thêm, sửa, xóa tất cả lịch
  • Author: Có thể chỉnh sửa tất cả các mục lịch công tác (đã được fix)

Cấu trúc thư mục

lich-cong-tac-dang-uy/
├── lich-cong-tac-dang-uy.php  # File chính của plugin
├── css/
│   └── schedule-danguy-style.css  # CSS styles
├── js/
│   └── schedule-danguy-app.js     # JavaScript frontend
└── README.md

API Endpoints

  • GET /wp-json/lct-danguy/v1/schedule - Lấy danh sách lịch theo tuần
  • POST /wp-json/lct-danguy/v1/schedule - Tạo lịch mới
  • POST /wp-json/lct-danguy/v1/schedule/{id} - Cập nhật lịch
  • DELETE /wp-json/lct-danguy/v1/schedule/{id} - Xóa lịch
  • POST /wp-json/lct-danguy/v1/schedule/batch-update - Cập nhật hàng loạt

Phiên bản

  • Version: 1.0
  • Author: Danatec

Changelog

Version 1.0

  • Fix lỗi Author role không thể lưu khi chỉnh sửa
  • Thêm filter allow_author_edit_all_schedules để cho phép Author chỉnh sửa tất cả schedule items
  • Cải thiện xử lý quyền trong REST API callbacks