Refactor plugin to BizzDocMaker 2.0 with modern architecture, templates, and admin interface#45
Draft
Refactor plugin to BizzDocMaker 2.0 with modern architecture, templates, and admin interface#45
Conversation
…tation Co-authored-by: codersaiful <6463919+codersaiful@users.noreply.github.com>
Co-authored-by: codersaiful <6463919+codersaiful@users.noreply.github.com>
…pgrade guide Co-authored-by: codersaiful <6463919+codersaiful@users.noreply.github.com>
Co-authored-by: codersaiful <6463919+codersaiful@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Refactor WordPress plugin and update namespaces
Refactor plugin to BizzDocMaker 2.0 with modern architecture, templates, and admin interface
Nov 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Complete modernization from "Post Classified for Docs" to production-ready documentation builder with PSR-4 architecture, multiple display templates, admin interface, and comprehensive security hardening.
Architecture
BizzDocMakernamespace with organized class structure (src/Admin,src/Frontend,src/Core)[WPPCD_Post]shortcode and all attributes preservedFeatures
Display Templates
Four responsive templates with consistent API:
Admin Interface
Shortcode API
New
[bizzdocmaker]shortcode with extended attributes:Security
manage_options)sanitize_text_field(),absint()esc_html(),esc_url(),esc_attr()Technical Changes
Requirements
File Organization
Hooks & Filters
Documentation
Migration
No database changes required. Text domain unchanged for translation compatibility. Legacy meta key
wppcd_post_order_numbermigrated tobizzdocmaker_post_ordervia query args.Original prompt
পুরো প্লাগিন ভালো করে পড়ে দেখবে। কারন এই প্লাগিনের সবকিছুই আমি পরিবর্তন করতে চাচ্ছি। আগের কোন কিছু রাখতে হবে এমন কোন কথা নেই। এটা একটা WordPress এর প্লাগিন। ইউজার নেই বললেই চলে। বাড়াতে হবে। ইউজারদের কে আকৃষ্ট করার মত কিছু করতে হবে।
প্লাগিনে একটা বড়সড় পরিবর্তন আনতে চাচ্ছি। তুমি সকল কিছু পরিবর্তন আনতে পারবে, এমন কি namespace ও পরিবর্ত্তন করতে পারবে। কোনো আটোলোডার ব্যবহার করলে ভালো হয়।
নিচে আমি যা চাচ্ছি তা একে একে দিচ্ছিঃ
প্রথমত প্লাগিনের নাম এবং উদ্দেশ্য চেঞ্জ করতে চাচ্ছি।
প্লাগিনে নাম দেবোঃ BizzDocMaker - Documentation & Post List Builder
পুরো প্লাগিনের সুন্দর বর্ননা সহ readme.txt file ঠিক করবে, অবশ্যই ইংলিশে। WordPress supported হতে হবে। তবে টেক্সট ডোমেইন হিসেবেঃ 'post-classified-for-docs' - এটা থাকবে। কারন প্লাগিনটি ওয়ার্ডপ্রেস রেপোসিটরিতে আছে।
প্লাগিনের সকল ফাইল গুলো সুন্দর করে রি-অর্গানাইজ করবে।
সকল ফাইল গুলোতে কোডিং স্ট্যান্ডার্ড মেনে কোড লিখবে।
সকল ফাইল গুলোতে প্রয়োজনীয় কমেন্টস যোগ করবে, যাতে করে ডেভেলোপাররা সহজে বুঝতে পারে। কোডের ভিতরের কমেন্টস গুলো ইংলিশে হবে।
অপ্রয়োজনিও সকল ফাইল মুছে ফেলতে হবে। যেটা অকাজের সেট্টা মুছে দেবে।
ডেভেলোপারের জন্য নির্দেশনামুলক সকল ডক বাংলায় লিখবে। সকল ডক help-doc ফোল্ডারের ভিতরে একটা ফাইল থাকবে।
প্লাগিনের জন্য সম্ভাব্য ভালো ভালো ফিচার যোগ করবে, যেগুলো দিয়ে ইউজার বাড়বে। তুমি তোমার মত করে ফিচার যোগ করবে, এবন সেগুল যেনো কাজ করে। তবে আমি কিছু সাজেশন দিচ্ছি, যেটা তোমার ভালো মনে হয় সেটা করবে। সাজেশনঃ
User Interface:
Admin settings page
Dashboard widget
Welcome screen
Improved meta box
Help system
Display Options:
Multiple templates (List, Grid, Accordion, Table)
Styling options
Content options
Template override system
এবং
Advanced Features:
Search এবং filter
Pagination systems
Sorting options
Custom fields support
Query builder
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.