The OForum admin panel is a standalone top-nav interface (no sidebar menus). It registers a single add_menu_page() entry under OForum in the WP admin sidebar.
Navigation Structure
The header has two rows:
- Row 1 (Brand bar): OForum icon + name + version badge + spacer + light/dark theme toggle
- Row 2 (Top nav): Dashboard · Rooms · Threads | Moderation | Analytics | Settings
The moderation tab shows a live badge with the count of pending reports + pending approval posts.
Theme Toggle
The admin panel supports a dark theme. The toggle button switches between light and dark using the CSS class of-dark on #of-wrap. The preference is saved to localStorage under the key of_admin_theme.
