Adding the following snippet, you will be able to use shortcodes in WordPress theme files.