Reply To: Allowing shortcodes in widget area

Homepage Community Forums Epik Theme Support Allowing shortcodes in widget area Reply To: Allowing shortcodes in widget area

#10250
bf2426
Customer

    Hi Eric,

    Thanks for the response.

    No the question is not about how to get the plugin to work. It works fine.

    The plugin gives you a few options to display the optin box on your site.. a shortcode or a widget are two of them.

    Using the plugin widget along with a text widget in the same widget area would be ideal but it would place the optin box above or below the text

    I want the optin box to the side of the text. Just like the image/text placement in the demo site.

    I thought I could achieve this by adding a text widget to the “feature-5” widget area and splitting it with the “feature-left” and “feature-right” classes Wes has provided in the CSS and adding the shortcode to one side and text to the other. But of course the shortcodes do not work in widget areas… as I have now discovered!

    I googled how to allow shortcodes in WP widget areas and found the code snippet above to be add to the functions.php

    I added the code snippet to the php file but it still does not work.

    I don’t understand how to get shortcodes working in the widget area… that’s the question. Is it possible in genesis/epik? If so how do I do it.

    If not I would have to look at how to replace the “feature-5” widget area with two widget areas ie (feature-5 left and feature-5 right) so I could add text to one and the plugin widget to the other….. but that’s a different thread.

    hope this is understandable

    regards

    Bill