I have a shortcode in my functions.php which runs a query on a category. I want to have a twitter feed on this particular page.
I installed one and it looks good but I need to call it in a very specific spot within the shortocode. I noticed as is, it calls the widget at the top of my page from within the shortcode which breaks the layout. I did some reading and it looks like using the_widget() would allow me to call it where I want and it did put text in the right spot. Problem was instead of putting my tweets, it put an error message. I figured that If I use the_widget with the classname of the widget as shown on this page that it would work
for example. The twitter widget I downloaded is called "simple twitter tweets" and I figured that I could do
and it would work. I was wrong.
PI_SimpleTwitterTweets is the classname of the widget. Am I on the right track and just missing something?