WordPress.org

Ready to get started?Download WordPress

Forums

Mini twitter feed
[resolved] code not working (5 posts)

  1. deepwhitesound
    Member
    Posted 1 year ago #

    hello,

    the plugin isn't working for me. due to the way i have my site set up, i cannot use the simple widgit method and instead must insert code directly to the template file. i have pasted the following into the sidebar.php file and it should work, but instead i only see the code as text:

    [minitwitter username="deepwhitesound" limit="7"]

    the website in question is
    http://www.deepwhitesound.com

    and you can see the issue on the left side after the tag cloud

    please advise !

    http://wordpress.org/extend/plugins/mini-twitter-feed/

  2. hectopod
    Member
    Plugin Author

    Posted 1 year ago #

    Do you use the widget section? If yes, add this code: add_filter('widget_text', 'do_shortcode'); to your functions.php file.

  3. deepwhitesound
    Member
    Posted 1 year ago #

    As I said, due to the way my site is set up I cannot use widgits. I need to use the straight code inserted into the templates.

  4. hectopod
    Member
    Plugin Author

    Posted 1 year ago #

    so do that:

    echo do_shortcode('[minitwitter username="deepwhitesound" limit="7"]');

  5. deepwhitesound
    Member
    Posted 1 year ago #

    thanks so much - thats the code i needed, but it wasn't apparent to me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic