Skip to content

Recipes

Recipes are practical examples that show how to build common features with WP-Nexus. Each recipe provides a complete implementation pattern with database schema, UI structure, and pipeline configuration.

Available Recipes

Contact Form

Build a complete contact form with validation, sanitization, database storage, and email notification. Covers form container setup, input widgets, and a multi-step action pipeline.

User Registration

Implement frontend user registration using WordPress functions. Includes field validation, password handling, and role assignment.

Data Dashboard

Create an admin dashboard with summary statistics, data tables, and charts. Uses Math nodes for aggregation and Combine to bring multiple data sources together.

Favorites System

Build a favorites/bookmarks system using data stores. Covers the Toggle Favorite widget, store-based queries, and displaying a user's favorited items.

Search & Filter

Implement faceted search with multiple filter widgets (text search, dropdown, checkbox, range) that update a listing in real time.

File Uploads

Build a file upload form with preview, validation, and server-side handling. Covers the File Upload widget and processing uploaded files in pipelines.

Recipe Structure

Each recipe includes:

  1. Database tables -- What tables to create and their columns.
  2. UI layout -- Which widgets to use and how to arrange them.
  3. Pipelines -- Data source pipelines for display and action pipelines for writes.
  4. Key configuration -- Important settings for each node and widget.
  5. Tips -- Best practices and common variations.