[Solved] Gallery doesn't work in Agentpress 2 slider widget
Problem: I am migrating a website to a new host with a new URL. The new site's slider widget in AP2 gallery only shows the shortcode text input into the text box (see http://jackielovesrealestate.com). However, the gallery works perfectly when the shortcode is input on a page or other area of the site...it doesn't work specifically in the text box Slider widget area. I am running 1.2.2.1 version on this site.
I've tried downgrading genesis, downgrading the gallery version to no avail. I'm currently running genesis 1.8.2.
It does work on the old site (http://simplynashuanh.com) and is set up the same way (using shortcode in the slider widget text box). This site runs genesis 1.8.0 and gallery version 1.1.1.
I am looking for a solution to getting the gallery running in the Slider widget on the new site.
I've tried downgrading genesis, downgrading the gallery version to no avail. I'm currently running genesis 1.8.2.
It does work on the old site (http://simplynashuanh.com) and is set up the same way (using shortcode in the slider widget text box). This site runs genesis 1.8.0 and gallery version 1.1.1.
I am looking for a solution to getting the gallery running in the Slider widget on the new site.
This discussion has been closed.
Comments
I also posted this issue to Studiopress support forums and got this successful reply: "Shortcode does not ru nin text widgets by default. You need to add this to your functions file PHP code: add_filter('widget_text', 'do_shortcode');
<code><span style="color: #000000"><span style="color: #007700"><br></span></span>
Thank you for your post and your follow-up.
Yes, WordPress text widgets don't parse shortcodes automatically.
You have to add this support with the code as mentioned.
Or even better/easier, here is a plugin which will make it possible: http://wordpress.org/extend/plugins/parse-shortcodes/
All the best,
Antonie