Skip to content

Hub System

The Hub system is powered by the Workspaces plugin which provides navigation taxonomy for organizing pages into portals.

Plugin

PluginRepositoryPurpose
Workspacesderintolu/workspacesWorkspace taxonomy for organizing pages into portals

Features

Implemented

FeatureDescription
Workspace TaxonomyOrganizes pages into My Hub, Marketing, Learning
Workspace ObjectsNavigation items with Lucide icons
REST APIEndpoints for workspace data

Planned

FeatureDescription
Agent HubPartner/realtor portal
Partner HubBusiness partner portal

URLs

URLPurpose
/me/My Hub dashboard
/marketing/Marketing workspace
/marketing/lead-pages/Lead pages dashboard
/learning/Learning workspace

Workspaces Plugin

Taxonomy Structure

workspace (taxonomy)
├── my-hub
├── marketing
└── learning

Post Type: Workspace Object

Navigation items assigned to workspaces.

FieldPurpose
TitleDisplay name
IconLucide icon name
URLLink destination
OrderSort position

REST API

Base: /wp-json/workspaces/v1/

EndpointMethodDescription
/workspacesGETList all workspaces
/workspaces/{slug}GETGet workspace with objects
/objectsGETList all workspace objects

Dependencies

  • frs-wp-users - User profile data
  • Workspaces theme - Sidebar frame and navigation
  • FluentCRM - Contact sync (optional)
  • FluentBooking - Calendar integration (optional)

File Structure

workspaces/
├── includes/
│   ├── class-workspaces.php          # Taxonomy registration
│   ├── class-workspace-objects.php   # Post type registration
│   ├── class-workspace-rest-api.php  # REST endpoints
│   └── class-lucide-icons.php        # Icon handling
└── admin/

Hub21 Platform Documentation