A minimalist Linktree-style plugin designed primarily for ClassicPress that automatically adapts to browser dark/light mode preferences. Perfect for creating a clean, professional link-in-bio page.
Note: This plugin is built for ClassicPress compatibility first. It also works with WordPress 5.0+, but ClassicPress is the primary target platform.
- Auto Dark/Light Mode: Automatically switches based on browser's
prefers-color-scheme - Custom URL Slug: Define your own page slug (e.g.,
/links,/bio,/social) - Drag & Drop Ordering: Easily reorder links with drag-and-drop interface
- Icon Support: Add emojis or text icons to your links
- Theme Independent: Completely bypasses your theme for a clean, minimal design
- Mobile Responsive: Looks great on all devices
- ClassicPress First: Built specifically for ClassicPress compatibility (also works with WordPress 5.0+)
- Automatic Updates: Self-updating directly from GitHub (no WordPress.org dependency)
- Download the plugin files
- Upload the entire
simple-linktreefolder to/wp-content/plugins/ - Run
composer installin the plugin directory (required for auto-updates) - Activate the plugin through the 'Plugins' menu in ClassicPress
- Go to Linktree in your admin menu to configure
Important: The plugin requires Composer dependencies for automatic updates. After uploading, SSH into your server and run:
cd /path/to/wp-content/plugins/simple-linktree
composer installAfter activation, the plugin will:
- Create a default page accessible at
yoursite.com/links - Set up the basic configuration
- Check for updates automatically from GitHub
- Be ready for you to add your links!
- Go to Linktree in your ClassicPress admin menu
- Set your Page Slug (the URL where your linktree will be accessible)
- Add your Profile Name (displayed at the top)
- Optionally add a Profile Bio
- Click Save Settings
- Click Add New Link to create a new link
- Fill in:
- Title: The text displayed on the button
- URL: The destination URL
- Icon: Optional emoji or symbol (e.g., 🔗, 📧, 🎵)
- Drag links up or down to reorder them
- Click Save All Links when done
- Click View Page to see your linktree in action
- Ctrl+S (or Cmd+S on Mac): Quick save links
The plugin uses CSS custom properties and @media (prefers-color-scheme: dark) to automatically detect and adapt to the user's browser preference. No JavaScript or manual toggle required!
- Default:
yoursite.com/links - Custom:
yoursite.com/[your-custom-slug]
The plugin uses ClassicPress/WordPress rewrite rules to create clean URLs that work independently of your theme.
- Minimal overhead: No external dependencies
- Lightweight CSS: < 5KB
- Fast loading: Single-page template
- No theme assets loaded: Completely independent rendering
simple-linktree/
├── simple-linktree.php # Main plugin file
├── README.md # This file
├── admin/
│ ├── css/
│ │ └── admin.css # Admin panel styles
│ ├── js/
│ │ └── admin.js # Admin panel JavaScript
│ └── views/
│ └── admin-page.php # Admin interface template
└── public/
└── views/
└── linktree-page.php # Public-facing linktree page
- ClassicPress (any version) or WordPress 5.0+
- PHP 7.0 or higher
- Composer (for automatic updates feature)
- Note: This plugin does NOT use Gutenberg or jQuery UI Sortable, ensuring full ClassicPress compatibility
- Chrome/Edge (latest)
- Firefox (latest)
- Safari (latest)
- Opera (latest)
- Mobile browsers (iOS Safari, Chrome Mobile)
Currently, the plugin uses automatic dark/light mode based on browser preferences. Colors are defined in CSS custom properties in the linktree-page.php file and can be modified if needed.
Yes! The plugin completely bypasses your theme and renders its own minimal template, ensuring consistent appearance regardless of your theme.
Yes! You can use:
- Emojis (🔗, 📧, 💼, etc.)
- Unicode symbols (→, ★, ●, etc.)
- Simple text ("NEW", "BLOG", etc.)
Simply drag and drop the links in the admin panel using the handle icon (≡) on the left side of each link.
The linktree page includes noindex, nofollow meta tags since it's typically used as a utility page. This is intentional to keep your main content prioritized in search results.
The plugin automatically checks the GitHub repository for updates. When a new version is available, you'll see an update notification in your ClassicPress admin (just like WordPress.org plugins). Click "Update Now" to install the latest version.
Updates are delivered directly from GitHub without requiring WordPress.org hosting.
- Added automatic plugin updates from GitHub using Plugin Update Checker
- Emphasis on ClassicPress as primary target platform
- Documentation updates
- Composer dependency management
- Initial release
- Dark/light mode auto-detection
- Custom slug support
- Drag & drop link management (using SortableJS for ClassicPress compatibility)
- Icon support
- Mobile responsive design
- ClassicPress-first design (no Gutenberg, no deprecated jQuery UI)
For issues, questions, or contributions, please visit the plugin repository at https://github.com/JensS/simple-linktree.
GPL v2 or later
Developed with ❤️ for the ClassicPress community