Text widget's shortcode doesn't change

Error
  • The slider's shortcode is in a text widget, but it doesn't change in the frontend, only the shortcode text can be seen.
Solution

WordPress doesn't support shortcodes in the text widgets, they only appear, if your theme was coded to show them. You can try to give this option to your theme by putting this code into your theme's functions.php file:

add_filter( 'widget_text', 'do_shortcode' );

But we have our own widget, and you should use that instead.

If you make a mistake in the functions.php file, both your backend and frontend will be blank, so have a backup, and use ftp!