Title: Switcher Drop in Code
Last modified: August 18, 2016

---

# Switcher Drop in Code

 *  [jinsan](https://wordpress.org/support/users/jinsan/)
 * (@jinsan)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/switcher-drop-in-code/)
 * The competition rules state that the following needs to be dropped into the theme.
 * `<?php if (function_exists('wp_theme_switcher')) { ?>
    <li><h2><?php _e('Themes');?
   ></h2> <?php wp_theme_switcher(); ?> </li> <?php } ?>
 * It states how to drop it into the Kubrick theme with a sidebar…my problem is 
   I don’t have a sidebar – I’m guessing sidebars are all the rage or something,
   and even the grandma’s of bloggers have blogs with sidebars.
 * So where else can I place this code?
 * The only php files I think I could add it into are the index.php and header.php
   but I’m not sure if I can drop it anywhere, or I need to have it somewhere specifically.
 * Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [carthik](https://wordpress.org/support/users/carthik/)
 * (@carthik)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/switcher-drop-in-code/#post-162231)
 * Why not ask at:
    [http://wordpress.org/support/topic.php?id=25552](http://wordpress.org/support/topic.php?id=25552)?
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/switcher-drop-in-code/#post-162239)
 * Or take a look at some of the entries (e.g. Gespaa theme) that don’thave a sidebar
   either.
 *  Thread Starter [jinsan](https://wordpress.org/support/users/jinsan/)
 * (@jinsan)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/switcher-drop-in-code/#post-162241)
 * Because my head is about to explode with fury. This is a related but seperate
   issue, if I can be blase about it 🙂
 *  [carthik](https://wordpress.org/support/users/carthik/)
 * (@carthik)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/switcher-drop-in-code/#post-162245)
 * If it’s not directly related to theme competition submission then you can put
   in the footer, or header, or at the top of the content section – wherever you
   think it is apt for your design.
 *  Thread Starter [jinsan](https://wordpress.org/support/users/jinsan/)
 * (@jinsan)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/switcher-drop-in-code/#post-162254)
 * well related to theme competition, well I’ve stuck it somewhere in the header
   where I thought it should go/ Will see what happens.
 * Thanks for the suggestion moshu, and thanks for the advice carthik;)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Switcher Drop in Code’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [jinsan](https://wordpress.org/support/users/jinsan/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/switcher-drop-in-code/#post-162254)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
