Last modified by MammaMia - 5 months ago
143 Views
Less than a minute read

Using emdplugins shortcodes in Text widgets

You can use our shortcodes in WordPress text widgets if you'd like to display the shortcode output on your sidebars. There might be additional CSS code needed to fit the content to the space available or your theme's needs. In addition, if you're using WordPress 4.8, you need to add the following code to your theme's functions.php:

remove_filter('widget_text_content', 'wpautop');

The code simply removes the <br> and <p> tags added to the text widget content by WordPress 4.8.

 

Related Embeds
Related Articles
Previous Next
Was this information helpful?