WordPress Plugin Installation
Install the Phytopedia WordPress plugin to display educational content on your WordPress site.
Requirements
Before installing, make sure you have:
- ✅ WordPress 5.0 or higher
- ✅ PHP 7.4 or higher
- ✅ MySQL 5.6 or higher
- ✅ Phytopedia account and API key
Installation Methods
Method 1: Upload Plugin File (Recommended)
-
Download the Plugin
- Go to admin.phytopedia.co
- Navigate to Downloads → WordPress Plugin
- Download
phytopedia-plugin-v2.2.1.zip
-
Upload to WordPress
- Log in to your WordPress admin panel
- Go to Plugins → Add New → Upload Plugin
- Click Choose File and select the downloaded ZIP file
- Click Install Now
-
Activate the Plugin
- Click Activate Plugin after installation
- You'll be redirected to the setup wizard
Method 2: Manual Installation via FTP
-
Download and Extract
- Download
phytopedia-plugin-v2.2.1.zip - Extract the ZIP file to a folder named
phytopedia
- Download
-
Upload via FTP
- Connect to your server via FTP
- Navigate to
/wp-content/plugins/ - Upload the entire
phytopediafolder
-
Activate
- Go to WordPress admin → Plugins
- Find Phytopedia in the list
- Click Activate
Setup Wizard
After activation, you'll see a 6-step setup wizard:
Step 1: Welcome
Introduction to Phytopedia features and benefits.
Step 2: API Connection
- Enter your API URL:
https://admin.phytopedia.co - Enter your License Key (from admin portal)
- Click Verify License
- ✅ Connection successful!
Step 3: Layout Settings
- Choose Primary Color for your site
- Select Default View: Grid or List
- Enable/disable Dark Mode
Step 4: Sidebar Configuration
- Show Left Sidebar: Categories and tags
- Show Right Sidebar: Daily facts and related articles
Step 5: Content Settings
- Articles Per Page: Default is 12
- Show Breadcrumbs: Enable navigation breadcrumbs
- Show Related Articles: Display related content
Step 6: Complete
- Review your settings
- Click Finish Setup
- You're ready to go!
Quick Configuration
If you skip the wizard, manually configure these settings:
Connection Settings
Go to Phytopedia → Settings → Connection:
API URL: https://admin.phytopedia.co
License Key: [Your key from admin portal]
Click Test API Connection to verify.
Layout Settings
Phytopedia → Settings → Layout & Design:
- Primary Color:
#2e8555(or your brand color) - Secondary Color:
#25c2a0 - Accent Color:
#FC6736 - Default View: Grid
- Enable Dark Mode: Yes
- Show Left Sidebar: Yes
- Show Right Sidebar: Yes
Verify Installation
After setup, verify everything works:
1. Check Plugin Status
- Go to Phytopedia → Dashboard
- You should see:
- ✅ API Connection: Active
- ✅ License Status: Valid
- ✅ Categories Synced: 11
2. Add Shortcode to a Page
Create a new page and add:
[phytopedia_categories]
Preview the page - you should see category cards.
3. Test Daily Fact Widget
Add to a sidebar or page:
[phytopedia_daily_fact]
You should see a random educational fact.
Troubleshooting
Plugin Won't Activate
Error: "Plugin could not be activated because it triggered a fatal error"
Solution:
- Check PHP version (must be 7.4+)
- Increase PHP memory limit to 256M
- Check error logs:
wp-content/debug.log
API Connection Failed
Error: "Could not connect to Phytopedia API"
Solution:
- Verify API URL is correct:
https://admin.phytopedia.co - Check your license key (no extra spaces)
- Ensure your server can make outbound HTTPS requests
- Try Test API Connection button again
Categories Not Displaying
Error: Empty category grid or "No articles found"
Solution:
- Go to Phytopedia → Settings → Connection
- Click Sync Categories Now
- Wait 30 seconds
- Refresh your page
CSS Styles Not Loading
Error: Plugin displays but looks unstyled
Solution:
- Hard refresh browser:
Ctrl+Shift+R(PC) orCmd+Shift+R(Mac) - Clear WordPress cache (if using caching plugin)
- Go to Phytopedia → Settings → Advanced
- Click Clear Plugin Cache
Daily Facts Not Showing
Error: "Failed to load daily fact"
Solution:
- Check API connection is active
- Verify shortcode:
[phytopedia_daily_fact] - Try adding
random="yes"parameter:[phytopedia_daily_fact random="yes"] - Check browser console for JavaScript errors
Manual Database Setup
If the plugin doesn't create tables automatically:
- Go to phpMyAdmin
- Select your WordPress database
- Run this SQL:
CREATE TABLE IF NOT EXISTS `wp_phytopedia_cache` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`cache_key` varchar(255) NOT NULL,
`cache_value` longtext NOT NULL,
`expires_at` datetime DEFAULT NULL,
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `cache_key` (`cache_key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
Replace wp_ with your WordPress table prefix if different.
Next Steps
Once installed, explore these features:
- Shortcodes Reference - Available shortcodes
- API Overview - Learn about the API
Need Help?
- 📧 Email: info@trusttechdigital.com
- 📚 Documentation: You're reading it!
- 🐛 Bug Reports: GitHub Issues
Plugin Version: 2.2.1 Last Updated: November 2025