Title: Replace site description with short code
Last modified: August 20, 2016

---

# Replace site description with short code

 *  Resolved [itsmir](https://wordpress.org/support/users/itsmir/)
 * (@itsmir)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/replace-site-description-with-short-code/)
 * Is it possible to replace the site description with short code?
 * I tried adding `add_filter( 'site-description', 'do_shortcode' );` to functions.
   php and then changing the site description in Settings to the shortcode but no
   luck.
 * Thanks!
 * site : [christineleedy.nl](http://www.christineleedy.nl)
    Theme : Twenty10

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

 *  [Jonas Grumby](https://wordpress.org/support/users/ss_minnow/)
 * (@ss_minnow)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/replace-site-description-with-short-code/#post-2291540)
 * What is the end result you are trying to achieve? What is the purpose of the 
   shortcode? You may not be able to do it with shortcode but you may be able to
   do it with php code.
 *  Thread Starter [itsmir](https://wordpress.org/support/users/itsmir/)
 * (@itsmir)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/replace-site-description-with-short-code/#post-2291546)
 * The short code is : [widgets_on_pages id=”flags”] which I’ve realised won’t work
   as it’s to put widget in page not anywhere else … so I guess my question should
   be:
 * Can I replace site-description with a widget?
    The widget is the q-translate 
   language chooser which gives a drop down box to change language.
 * Sorry for the confusion – as you can tell, I’m new to this wordpress wonderfulness
   🙂
 *  Thread Starter [itsmir](https://wordpress.org/support/users/itsmir/)
 * (@itsmir)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/replace-site-description-with-short-code/#post-2291555)
 * Fixed it!
 * Replaced the php call for site_description in header.php with `<?php echo qtrans_generateLanguageSelectCode('
   both'); ?>`
 * 🙂
 *  [Jonas Grumby](https://wordpress.org/support/users/ss_minnow/)
 * (@ss_minnow)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/replace-site-description-with-short-code/#post-2291743)
 * Great. You should mark it Resolved so other people can learn from it.

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

The topic ‘Replace site description with short code’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Jonas Grumby](https://wordpress.org/support/users/ss_minnow/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/replace-site-description-with-short-code/#post-2291743)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
