Skip to content

WP Social Ninja β€” Documentation

Source for the official WP Social Ninja documentation.
Built with VitePress.

Website Β· Live Docs Β· WordPress Plugin


About ​

This repository contains the documentation for WP Social Ninja, the all-in-one WordPress plugin for displaying social media feeds, business reviews, and social chat widgets. It's a content-only site β€” the pages are Markdown, rendered into a static site by VitePress and published at docs.wpsocialninja.com.

The docs cover:

  • πŸ“± Social Feeds β€” Facebook, Instagram, X (Twitter), YouTube, and TikTok
  • ⭐ Business Reviews β€” Google, Facebook, Yelp, TripAdvisor, Trustpilot, Booking.com, Airbnb, AliExpress, WooCommerce, and more
  • πŸ’¬ Social Chat β€” Messenger, WhatsApp, Telegram, and other chat widgets
  • 🧩 Custom sources, testimonials, notification popups, integrations, and settings

Tech stack ​

  • VitePress ^2.0.0-alpha.12 (Vite + Vue powered static site generator)
  • Content authored in Markdown
  • A light custom theme (.vitepress/theme/)

Getting started ​

Prerequisites: Node.js (18+) and npm.

bash
# 1. Install dependencies
npm install

# 2. Start the local dev server (hot reload)
npm run docs:dev

Then open the URL printed in the terminal (default http://localhost:5173).

Available scripts ​

CommandDescription
npm run docs:devStart the dev server with hot reload for live editing.
npm run docs:buildBuild the production site into .vitepress/dist.
npm run docs:previewServe the built site locally to preview the production output.

Project structure ​

.
β”œβ”€β”€ index.md                     # Homepage (VitePress "home" layout)
β”œβ”€β”€ guide/                       # All documentation pages, grouped by section
β”‚   β”œβ”€β”€ getting-started/
β”‚   β”œβ”€β”€ social-feeds/
β”‚   β”œβ”€β”€ business-reviews/
β”‚   β”œβ”€β”€ custom-source/
β”‚   β”œβ”€β”€ advanced-features/
β”‚   β”œβ”€β”€ ai-integration/
β”‚   β”œβ”€β”€ social-chat/
β”‚   β”œβ”€β”€ integrations/
β”‚   β”œβ”€β”€ management-settings/
β”‚   β”œβ”€β”€ customization-design/
β”‚   β”œβ”€β”€ import-export-migration/
β”‚   β”œβ”€β”€ troubleshooting-support/
β”‚   └── public/images/…          # Screenshots for the guide pages
β”œβ”€β”€ .vitepress/
β”‚   β”œβ”€β”€ config.mts               # Site config: title, nav, and the full sidebar
β”‚   └── theme/                   # Custom theme (layout, styles, components)
└── public/                      # Site assets (logo, favicon, robots.txt)

Contributing ​

Contributions to improve the docs are welcome!

Editing an existing page ​

  1. Find the page under guide/<section>/.
  2. Edit the Markdown and preview with npm run docs:dev.
  3. Open a pull request.

Adding a new page ​

Adding a page takes three steps β€” the last one is easy to forget:

  1. Create guide/<section>/<file-slug>.md with frontmatter and a single # H1:
    markdown
    ---
    title: "Your Page Title"
    description: "One-sentence summary."
    ---
    
    # Your Page Title
    
    Intro paragraph…
    
    ## First Step
    
    ![Descriptive alt text](/guide/public/images/<section>/<page-slug>/screenshot.webp)
  2. Add screenshots under guide/public/images/<section>/<page-slug>/ and reference them with absolute paths starting /guide/public/images/…. .webp is preferred.
  3. Register it in the sidebar β€” add an entry in .vitepress/config.mts (the sidebar is defined inline). Without this, the page won't appear in the navigation:
    js
    { "text": "Your Page Title", "link": "/guide/<section>/<file-slug>" }

Style guidelines ​

  • Use a friendly, beginner-friendly, second-person voice ("First, go to…").
  • Bold UI labels and menu paths, e.g. WP Social Ninja β†’ Platforms.
  • One # H1 per page; use ## for sections and ### for steps.
  • Always add meaningful alt text to images.

Before opening a PR, run npm run docs:build to make sure the site builds cleanly.

Deployment ​

The site is built with npm run docs:build and served from docs.wpsocialninja.com. Merges to the master branch are published to production.


Maintained by the WPManageNinja team.