Xbox Framework, developed by Refky Satria Bima, is a lightweight and powerful developer-focused framework for WordPress. It is designed to help theme and plugin developers quickly create Meta Boxes, Theme Options, and Admin Pages without having to write repetitive backend code from scratch.
Unlike general-use plugins like Advanced Custom Fields (ACF) which provide a UI for non-developers, Xbox Framework is typically used as a code-based engine. Developers include it in their projects and define fields using PHP arrays.
Versatile Field Types: Supports 20+ field types, including text, switches, color pickers, media uploads, repeaters, and groups.
Theme Options Integration: Easily build a complete settings panel for WordPress themes with tabs and sections.
Meta Boxes: Attach custom fields to specific post types (Posts, Pages, or CPTs) with ease.
Conditional Logic: Show or hide fields based on the values of other fields (e.g., show an "Upload Image" field only if a "Show Banner" switch is turned on).
Responsive UI: The admin interface generated by the framework is modern, clean, and fully responsive for mobile management.
Xbox Framework is highly optimized and follows modern WordPress coding standards.
Feature
Details
Developer Oriented
Primarily configured via PHP arrays rather than a drag-and-drop UI.
Field Logic
Includes built-in validation, sanitization, and AJAX saving.
Architecture
Object-oriented and modular to prevent conflicts with other plugins.
License
Open-source (MIT License), making it free to use in commercial projects.
Output Functions
Provides simple helper functions to retrieve and display data in theme templates.
Performance: It is significantly lighter than "bloated" admin frameworks, making it ideal for high-performance themes.
Consistency: It allows developers to create a unified brand experience in the WordPress dashboard for their clients.
Repeater Fields: One of its strongest features is the ease of creating nested repeater fields, allowing for complex data structures like "Team Members" or "Pricing Tiers."
To use Xbox Framework, you generally follow these steps:
Include the Framework: Download the framework and include the main file in your functions.php or plugin file.
Initialize: Create a new instance of the framework and define your unique ID (e.g., my_theme_options).
Add Sections/Fields: Use the framework's API to add tabs and fields.
PHP
$xbox->add_field( array( 'id' => 'site-logo', 'name' => 'Upload Logo', 'type' => 'file', ));
Display Data: Use the built-in helper function to fetch the saved value in your theme:
$logo = xbox_get_field_value( 'my_theme_options', 'site-logo' );
Xbox Framework GitHub Repository
This link provides access to the official source code and documentation for developers looking to integrate the framework into their WordPress projects.
Would you like me to provide a more detailed PHP code snippet for creating a "Social Media Links" repeater field using this framework, or are you looking for a similar framework with a visual UI?
Subscribe to access unlimited downloads of themes, videos, graphics, plugins, and more premium assets for your creative needs.
Published:
Jan 29, 2026 10:33 AM
Category:
Author:
OtherLicense:
GPL v2 or Later