Rocky_Mountain_Vending/docs/reference/.wordpress-removed.md

44 lines
1.3 KiB
Markdown

# WordPress Content Removed
**DO NOT RE-IMPORT WORDPRESS CONTENT**
This file serves as a reminder that all WordPress content has been removed from the active codebase.
## What Was Removed
- `code/lib/wordpress-data/` - All WordPress page/post data
- `code/lib/wordpress-data-loader.ts` - WordPress data loading functions
- `code/lib/wordpress-content.ts` - WordPress content utilities
- `code/lib/clean-wordpress-content.tsx` - WordPress content cleaning functions
- WordPress route handling in `code/app/[...slug]/page.tsx`
- WordPress blog post route `code/app/[year]/[month]/[day]/[slug]/page.tsx`
## Where It Went
All WordPress-related code has been archived to:
- `_archive/wordpress/code-lib/`
## Current State
- The site now uses only:
- Location pages (from `code/lib/location-data.ts`)
- Dedicated route pages (Products, Services, etc.)
- Manual pages
- Style guide at `code/app/style-guide/page.tsx`
## If You Need WordPress Content
1. **DO NOT** copy files from `_archive/wordpress/` back to `code/lib/`
2. **DO NOT** re-import WordPress data loaders
3. **DO NOT** add WordPress route handling back to catch-all routes
If you need specific content from WordPress:
- Extract the content manually
- Create new pages/components following the style guide
- Use the existing component patterns from `code/components/`
## Last Updated
December 2, 2025