Hello Everyone...
I am currently using Atahualpa 3.6.7 on Wordpress 3.2.1. I guess this really isn't specifically an Atahualpa question but I am hoping someone can help me here.
I am using a plugin called "Jquery collapse-o-matic" and I want to include some of the shortcode functionality in another plugin (a custom widget tool). The widget I want to modify allows for excerpts from a post to be included in a list of posts. I want to be able to collapse that excerpt within the widget. I apologize if it sounds like I have no clue because I really don't. What I have tried is adding an "echo do_shortcode" function in the php for that widget but it doesn't seem to do anything. It is as follows:
elseif ( 'the_excerpt' == $instance['entry_content'] ) {
echo '<div class="entry-summary">';
echo do_shortcode('[expand title="More" swaptitle="Minimize"]');
the_excerpt();
echo do_shortcode('[/expand]');
echo '</div>';
}
The "expand title..." and "/expand" are proper shortcodes for the plugin I am using (collapse-o-matic).
If this is the wrong place to ask this, please let me know and I will delete this post.
Mike