Brainstorming Future Enhancements
Quote from Joseph Cox on 15/11/2025, 2:15 amWORDPRESS API INTEGRATION IDEAS FOR LINEAGEPRESS
HIGH VALUE INTEGRATIONS:
1. REST API Endpoints
- Create public API for genealogy data access
- Endpoints: /wp-json/lineagepress/v1/individuals, /wp-json/lineagepress/v1/trees
- Benefits: Enable headless WordPress, mobile apps, third-party integrations2. Gutenberg Blocks
- Drag-and-drop family tree displays in block editor
- Blocks: "Family Tree", "Ancestor List", "Person Profile"
- Benefits: Modern WordPress standard, visual editing3. Shortcode Builder
- Visual shortcode generator in post/page editor
- Add button to insert [lineagepress_tree id="1"] with preview
- Benefits: User-friendly, no code needed4. WordPress Search Integration
- Include genealogy data in site-wide search results
- Hook into pre_get_posts filter
- Benefits: Better discoverability, unified search experience5. User Profile Integration
- Link WordPress users to their ancestor records
- Show "My Family Tree" in user profile dashboard
- Benefits: Personal connection, user engagementMEDIUM VALUE INTEGRATIONS:
6. Custom Post Types
- Convert individuals to WordPress custom post types
- Benefits: Better SEO, permalinks, archives, use WP's built-in features7. Sidebar Widgets
- Recent ancestors, random person, family statistics
- Benefits: Easy sidebar content, theme integration8. Admin Bar Quick Links
- Quick access to genealogy features from admin bar
- Benefits: Faster navigation, better UX9. Activity Log Integration
- Use WordPress native activity tracking
- Benefits: Consistent with WP ecosystem10. WP Export/Import Tools
- Integrate with WordPress's native export system
- Benefits: Standard backup workflowRECOMMENDED FOR V3.0+:
- REST API (future-proofs the plugin)
- Gutenberg blocks (modern WordPress standard)
- Better shortcode system with visual builder
WORDPRESS API INTEGRATION IDEAS FOR LINEAGEPRESS
HIGH VALUE INTEGRATIONS:
1. REST API Endpoints
- Create public API for genealogy data access
- Endpoints: /wp-json/lineagepress/v1/individuals, /wp-json/lineagepress/v1/trees
- Benefits: Enable headless WordPress, mobile apps, third-party integrations
2. Gutenberg Blocks
- Drag-and-drop family tree displays in block editor
- Blocks: "Family Tree", "Ancestor List", "Person Profile"
- Benefits: Modern WordPress standard, visual editing
3. Shortcode Builder
- Visual shortcode generator in post/page editor
- Add button to insert [lineagepress_tree id="1"] with preview
- Benefits: User-friendly, no code needed
4. WordPress Search Integration
- Include genealogy data in site-wide search results
- Hook into pre_get_posts filter
- Benefits: Better discoverability, unified search experience
5. User Profile Integration
- Link WordPress users to their ancestor records
- Show "My Family Tree" in user profile dashboard
- Benefits: Personal connection, user engagement
MEDIUM VALUE INTEGRATIONS:
6. Custom Post Types
- Convert individuals to WordPress custom post types
- Benefits: Better SEO, permalinks, archives, use WP's built-in features
7. Sidebar Widgets
- Recent ancestors, random person, family statistics
- Benefits: Easy sidebar content, theme integration
8. Admin Bar Quick Links
- Quick access to genealogy features from admin bar
- Benefits: Faster navigation, better UX
9. Activity Log Integration
- Use WordPress native activity tracking
- Benefits: Consistent with WP ecosystem
10. WP Export/Import Tools
- Integrate with WordPress's native export system
- Benefits: Standard backup workflow
RECOMMENDED FOR V3.0+:
- REST API (future-proofs the plugin)
- Gutenberg blocks (modern WordPress standard)
- Better shortcode system with visual builder
