Content Management
Learn how to create and manage content in FlatWP using WordPress as your CMS.
Overview
FlatWP uses WordPress as a headless CMS, giving you:
- Familiar WordPress editing experience
- Powerful content management features
- Type-safe content consumption in Next.js
- Automatic content synchronization
Content Types
Posts
Blog posts and articles with publishing workflow.
Features:
- Categories and tags
- Author attribution
- Featured images
- Publish/draft status
- Scheduled publishing
Learn more: Working with Posts
Pages
Static pages for your site structure.
Features:
- Hierarchical structure
- Custom templates
- Flexible content layouts (with ACF)
- SEO metadata
Learn more: Creating Pages
Custom Post Types
Extended content types for specific needs.
Examples:
- Products
- Events
- Portfolio items
- Team members
Learn more: Custom Post Types
Creating Content
Basic Workflow
- Create content in WordPress
- Publish or save as draft
- View on Next.js site (automatic revalidation)
Content Editor
WordPress provides rich editing experience:
Block Editor (Gutenberg):
- Visual content creation
- Reusable blocks
- Media embeds
- Custom blocks
Classic Editor:
- Traditional WYSIWYG editor
- Shortcodes support
- HTML editing
Media Management
Images
Optimized image handling with WordPress media library.
Best Practices:
- Upload high-quality images
- Add alt text for accessibility
- Use descriptive file names
- Compress before uploading
Features:
- Automatic WebP conversion
- Responsive images
- Lazy loading
- Blur placeholders
Learn more: Image Optimization
Other Media
- PDFs and documents
- Video embeds
- Audio files
- SVG graphics
SEO & Metadata
Built-in SEO
- Page titles and descriptions
- Open Graph tags
- Twitter Card metadata
- Canonical URLs
SEO Plugins
Enhance with Yoast SEO or Rank Math:
- Advanced meta controls
- Schema.org structured data
- Social media previews
- XML sitemaps
Learn more: SEO Configuration
Content Organization
Categories
Organize posts into topics:
Technology
├── Web Development
├── Mobile Apps
└── AI & ML
Business
├── Marketing
└── Sales
Tags
Add descriptive keywords:
nextjsreactwordpresstutorial
Hierarchical Pages
Create page structure:
Home
├── About
│ ├── Team
│ └── History
├── Services
│ ├── Web Development
│ └── Consulting
└── Contact
Content Workflow
Draft → Review → Publish
- Draft: Create and edit privately
- Pending Review: Submit for approval
- Publish: Make live on site
Scheduled Publishing
Schedule content for future publication:
- Click Publish dropdown
- Select Schedule
- Choose date and time
- Click Schedule
Revisions
WordPress automatically saves revisions:
- View revision history
- Compare changes
- Restore previous versions
Preview Before Publishing
Preview content before publishing:
WordPress Preview
- Click Preview button in WordPress
- Select preview type:
- Preview in new tab: Draft preview
- Preview: Current window
FlatWP Preview Mode
Preview exactly as it appears on Next.js site:
- Enable preview mode (see Preview Mode Setup)
- Click custom preview button
- View on production-like environment
Content Synchronization
Automatic Revalidation
Content updates automatically when you:
- Publish a post
- Update a page
- Change categories/tags
- Update featured images
How It Works
- WordPress saves content
- FlatWP plugin sends webhook
- Next.js revalidates affected pages
- Visitors see updated content
Manual Refresh
Force refresh if needed:
- Go to Settings → FlatWP in WordPress
- Click Revalidate All
- Wait for completion
Content Best Practices
Writing for Web
- Clear headings: Use H2, H3 hierarchy
- Short paragraphs: 2-3 sentences max
- Scannable content: Use lists and bullets
- Visual breaks: Add images and spacing
SEO Optimization
- Keyword research: Target relevant terms
- Meta descriptions: Write compelling summaries
- Internal linking: Link related content
- Image alt text: Describe images accurately
Performance
- Optimize images: Compress before upload
- Minimize plugins: Only use necessary plugins
- Clean HTML: Avoid excessive formatting
- External embeds: Use sparingly
Accessibility
- Alt text: All images need descriptions
- Headings: Proper hierarchy (H1, H2, H3)
- Link text: Descriptive, not "click here"
- Color contrast: Readable text colors
Content Migration
From Another WordPress
- Export content: Tools → Export
- Import to new WordPress: Tools → Import
- Upload export file
- Run import
- Verify content
From Other CMS
Use WordPress importers:
- Blogger: Available in WordPress
- Medium: Third-party plugins
- Ghost: JSON import
- Static sites: Manual or scripted
Bulk Operations
Bulk Edit
Select multiple posts/pages:
- Check items to edit
- Click Bulk Actions dropdown
- Select action (Edit, Trash, etc.)
- Click Apply
Quick Edit
Edit single item fields quickly:
- Hover over post/page
- Click Quick Edit
- Modify fields
- Click Update
Content Types Reference
| Type | Use Case | Features |
|---|---|---|
| Posts | Blog, news, updates | Date-based, categories, tags |
| Pages | Static content | Hierarchy, templates |
| Media | Images, files | Library, attachments |
| Custom | Specific needs | Defined by you |
Next Steps
Explore specific content types:
- Working with Posts - Blog posts and articles
- Creating Pages - Static pages
- Custom Post Types - Extended content
- Image Optimization - Media best practices
- SEO Configuration - Search optimization
See Also
- ACF Setup - Flexible content layouts
- Preview Mode - Preview drafts
- GraphQL API - Content queries