PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. API
  4. Conditional Themes
Conditional Themes icon

Conditional Themes

A simple API to switch the themes on certain conditions.

By Nashwan D·API·Free
4.9(9 reviews)
·50 active installs·Updated 6 years ago
DownloadVisit HomepageCompare

As of April 2026, Conditional Themes is a WordPress api plugin with 50 active installations and a 4.9/5 rating from 9 reviews. It has been downloaded 4.8K+ times in total. Requires WordPress 3.4+ and PHP false+. Available on WordPress.org since 2013. Last updated 6 years ago — may have compatibility concerns. Top alternative: WP Consent API.

4.9/59 reviews
50active installs
4.8K+total downloads
13 yearssince 2013

Overview

Conditional Themes is an API to switch the themes on certain conditions.

Usage

Write an another plugin file and use the Conditional Themes API as the example below:

add_action('plugins_loaded', 'my_conditional_themes_setup', 100);

function my_conditional_themes_setup()
{
    // Switch to Twenty Eleven theme if the visitor use Internet Explorer.
    Conditional_Themes_Manager::register('twentyeleven', function() {
        global $is_IE;
        return (bool) $is_IE;
    });

    // Switch to Twenty Thirteen theme if the user has administrator role.
    Conditional_Themes_Manager::register('twentythirteen', function() {
        return current_user_can('administrator');
    });

    // Switch to a custom theme if the visitor use a mobile device.
    Conditional_Themes_Manager::register('mob…
Read full description on WordPress.org

Ratings & Reviews

4.99 reviews
5 ★
8
4 ★
1
3 ★
0
2 ★
0
1 ★
0

Compatibility

WordPress3.4+ requiredTested up to 5.2.24
PHPfalse+ required

Top Alternatives to Conditional Themes

WP Consent API icon
WP Consent API
5200K+ installsUpdated 3 weeks ago
ViewCompare
Disable REST API icon
Disable REST API
4.890K+ installsUpdated 2 years ago
ViewCompare
Mailgun for WordPress icon
Mailgun for WordPress
3.880K+ installsUpdated 2 months ago
ViewCompare
Make Connector icon
Make Connector
2.780K+ installsUpdated 1 month ago
ViewCompare
Disable WP REST API icon
Disable WP REST API
4.830K+ installsUpdated 1 week ago
ViewCompare
View all api plugins →

Frequently Asked Questions

Changelog

0.6

  • Better code style formatting.
View full changelog on WordPress.org

Contributors

Nashwan DNashwan D
Plugin Info
Version
0.6
Last Updated
Jul 19, 2019
WP Requires
3.4+
Tested Up To
5.2.24
PHP Requires
false+
Active Installs
50
Downloads
4.8K+
Added
Oct 19, 2013
Business
Free

Tags

apithemeswitchthemestheme switcher

Developer

N
Nashwan D
5 plugins0.0M+ total installs
View all plugins →

Quick Compare

Conditional Themes vs WP Consent API→Conditional Themes vs Disable REST API→Conditional Themes vs Mailgun for WordPress→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.