what exactly is the shortcode you are putting into the textwidget, and does it work in a post, for instance?
I’m using the RadSlide slideshow plugin. Its shortcode is [radslide #] with # being the slideshow ID #. It works fine in posts/pages.
I am unable to get ANY shortcode to work in a text widget. It simply does not process them.
bad news – it seems that the radslide code filters the content of a post/page to get the shortcode – there seems to be no provision to do this in a textwidget.
from the plugin:
// insert slideshow into pages and posts
function radslide_insert_slideshow($content) {
// looking for <a href="http://codex.ww.wp.xz.cn/radslide_#">radslide #</a>, where # is an id
$pattern = '/\[\[radslide\s*(\d+)\]\]/';
$callback = create_function('$matches', 'return radslide($matches[1],false);');
$content = preg_replace_callback($pattern, $callback, $content);
return $content;
}
add_action('the_content', 'radslide_insert_slideshow');
this line from the installation instruction of the plugin seems to be quite literal:
Add [radslide 1] in your page or post, replacing 1 with the id of your slideshow
in a strict sense, this [radslide] is not shortcode.
(there are a few plugins out there, which use this filter method with something within square brackets)
Can anyone suggest a simple slideshow plugin/widget?
Ideally it would let you create a slideshow using images picked from the WP media library and use a shortcode or widget to display it. RadSlide was perfect, until I discovered I cannot use it in the widget/sidebar 🙁
I found a few, but they either just use post images, or need pointed to a directory with images uploaded into it. None allow selection from the WP media library. I need that because this site is primarily maintained by some not-so-computer-savy people.
Radslide can also be included using php in a template – perhaps a widget that allows php execution would solve your problem?
Like this one ? http://ww.wp.xz.cn/extend/plugins/php-code-widget/
add then use the radslide function?
<?php radslide(2); ?>
Hope this helps!
Sorry to bring up an old thread, but thanks radicaldesigns! That worked perfectly!