• Facebook
  • Google
  • Twitter
  • Instagram

Invalid DateAtlantis DentalLeave a Comment

Blog Content Directory

Adding New Blog Posts

To add a new blog post to your Next.js site:

1. Create a Markdown File

Create a new .md file in this directory (content/blog/) with a descriptive filename:

  • Use lowercase and hyphens
  • Example: dental-implants-guide.md

2. Add Frontmatter

Each blog post must include frontmatter at the top with required metadata:

---
title: "Your Blog Post Title"
date: "2024-11-25"
excerpt: "A brief summary of your post (150-200 characters)"
author: "Dr. Lalit Bhardwaj"
category: "Dental Care"
tags: ["tag1", "tag2", "tag3"]
featuredImage: "/uploads/blog/2024/11/image-name.jpg"
---

## Your content starts here...

3. Write Content in Markdown

Use standard Markdown syntax:

## Headings

### Subheadings

**Bold text**

*Italic text*

- Bullet lists
- Second item

1. Numbered lists
2. Second item

[Link text](https://example.com)

![Image alt text](/path/to/image.jpg)

4. Categories

Common categories for Atlantis Dental:

  • Dental Care Tips
  • Dental Implants
  • Cosmetic Dentistry
  • Pediatric Dentistry
  • Emergency Dental
  • Preventive Care
  • Oral Health
  • Treatment Guides

5. Tags

Use relevant tags for SEO and filtering:

  • dental implants
  • teeth whitening
  • preventive care
  • pediatric dentistry
  • cosmetic dentistry
  • oral health
  • dental hygiene
  • tooth decay
  • gum disease

Extracting Blog Posts from WordPress

Option 1: Using WordPress Admin Panel

  1. Log in to WordPress admin: https://www.atlantisdentalcare.com/blog/wp-admin
  2. Go to Tools → Export
  3. Select "Posts" and click "Download Export File"
  4. Use a WordPress to Markdown converter
  5. Copy converted posts to this directory

Option 2: Using All-in-One WP Migration Backup

The blog backup files are located in:

  • blog/wp-content/ai1wm-backups/
  • Latest: www.atlantisdentalcare.com-blog-20250203-112145-647.wpress

Steps:

  1. Install WordPress locally (XAMPP, Local, etc.)
  2. Install All-in-One WP Migration plugin
  3. Import the .wpress file
  4. Access the blog and export posts
  5. Convert to Markdown manually or use a tool

Option 3: Direct Database Export

  1. Extract the .wpress file (it's a ZIP archive)
  2. Find the database.sql file
  3. Query the wp_admin_posts table (table_prefix is wp_admin)
  4. Extract post_title, post_content, post_date, etc.
  5. Convert HTML content to Markdown
  6. Create .md files with proper frontmatter

Helpful Tools

  • WordPress to Markdown: https://wordpress-to-markdown.com/
  • Markdown Converter: https://www.browserling.com/tools/html-to-markdown
  • Frontmatter Generator: Custom script or manual creation

Image Management

Blog images are stored in:

  • public/uploads/blog/YYYY/MM/image-name.jpg

Images have been copied from the WordPress blog folder:

  • Source: blog/wp-content/uploads/
  • Destination: nextjs-site/public/uploads/blog/

Reference images in posts using:

![Alt text](/uploads/blog/2024/11/image-name.jpg)

Sample Posts

This directory includes 3 sample posts to demonstrate the system:

  1. dental-implants-guide.md - Complete guide to dental implants
  2. teeth-whitening-options.md - Professional whitening information
  3. pediatric-dental-care.md - Parent's guide to children's dentistry

These are placeholder posts with real, useful content. Replace them with actual posts from your WordPress blog.

WordPress Blog Statistics

Based on the uploads folder, the WordPress blog has posts from:

  • 2019: 8 posts
  • 2020: 4 posts
  • 2021: 6 posts
  • 2022: 7 posts
  • 2023: 11 posts
  • 2024: 15 posts
  • 2025: 9 posts (through November)

Estimated Total: ~60 blog posts to extract

Blog Categories Found

Based on file naming and context:

  • Dental Implants (multiple posts)
  • Cosmetic Dentistry
  • Pediatric Dentistry
  • General Dental Care
  • Teeth Whitening
  • Oral Health Tips

Next Steps

  1. Extract real blog posts from WordPress backup
  2. Convert to Markdown format with proper frontmatter
  3. Copy images to appropriate folders
  4. Update image paths in posts
  5. Verify all links work correctly
  6. Test each post on the site
  7. Optimize images for web (WebP format recommended)

File Naming Convention

Use consistent naming:

  • All lowercase
  • Use hyphens, not underscores
  • Descriptive names
  • No special characters
  • Keep it concise

Examples:

  • dental-implants-cost-guide.md
  • how-to-choose-dentist.md
  • emergency-dental-care-tips.md

For technical support, see the main nextjs-site/README.md file.

Leave a Reply

Your email address will not be published. Required fields are marked *

SCHEDULE AN APPOINTMENT FOR A CONSULTATION.