Getting Started

This guide walks you through installing Tofido Code Manager, creating your first snippet, and understanding the core workflow. By the end, you will be confident managing custom code in WordPress without touching theme files.

Requirements

  • WordPress 6.0 or higher
  • PHP 8.1 or higher
  • MySQL 5.7+ or MariaDB 10.3+
  • Modern evergreen browser for the admin interface
Multisite Note

Version 1.0.0 is optimized for single-site WordPress. Basic multisite usage may work with individual site activation. Full network activation support is planned for a future release.

Installation

Method 1: WordPress Admin (Recommended)

  1. Log in to your WordPress admin dashboard.
  2. Navigate to Plugins → Add New.
  3. Search for Tofido Code Manager.
  4. Click Install Now, then Activate.

Method 2: Manual Upload

  1. Download the plugin ZIP from the release page.
  2. Go to Plugins → Add New → Upload Plugin.
  3. Select the ZIP and click Install Now, then Activate.

Method 3: FTP

  1. Extract the ZIP locally.
  2. Upload the tofido-code-manager folder to /wp-content/plugins/.
  3. Activate under Plugins in the WordPress admin.

Activation & Setup

After activation, a new Code Manager menu item appears in your admin sidebar. On first launch, the plugin runs a system check for PHP compatibility, database tables, and cache directory permissions. Most environments pass automatically.

Create Your First Snippet

Let us build a CSS snippet that changes your site header background.

Step 1: Add New

Click Add New Snippet in the Code Manager dashboard.

Step 2: Configure

  • Title: Header Background
  • Type: CSS
  • Status: Draft

Step 3: Write Code

CSS
/* Custom header background */
.site-header {
    background-color: #1B9C85;
    transition: background-color 0.3s ease;
}

Step 4: Placement

  • Location: Header
  • Priority: 10
  • Load Method: External File

Step 5: Conditions

  • Apply To: All Pages
  • Devices: All Devices

Save, Test, Publish

Click Save Snippet. Syntax validation runs automatically. Preview the draft on your site, then switch status to Published to go live.

Important

Always test snippets as drafts before publishing. For PHP, use Safe Mode to catch fatal errors before they affect your live site.

Next Steps

  • Snippet Types - Learn when to use each type
  • Security - Understand Safe Mode and dangerous function scanning
  • Features - Discover revision history, import/export, and the snippet library