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
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)
- Log in to your WordPress admin dashboard.
- Navigate to Plugins → Add New.
- Search for Tofido Code Manager.
- Click Install Now, then Activate.
Method 2: Manual Upload
- Download the plugin ZIP from the release page.
- Go to Plugins → Add New → Upload Plugin.
- Select the ZIP and click Install Now, then Activate.
Method 3: FTP
- Extract the ZIP locally.
- Upload the
tofido-code-managerfolder to/wp-content/plugins/. - 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
/* 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.
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