WordPress.org

Ready to get started?Download WordPress

Forums

Twitter Widget Pro
shortcode or customization -- which do I need and can you provide? (2 posts)

  1. Brian
    Member
    Posted 1 year ago #

    Hi,

    Your Twitter Pro Widget is fantastic! I'd like to use it a little differently than you probably intended, but maybe I can accomplish my goal with shortcode? Here's what I'm looking to do...

    I'm currently using a theme called Vantage from appthemes.com with a child theme call Advantage from tinygiantstudios.co.uk. You can see my testing site here: http://www.themarketingpartnerlist.com

    The site is a business directory -- the homepage lists the various businesses. I would like to install your widget globally on all business profile pages, and I would like for the widget to display tweets from the twitter username of the respective business by automatically finding the twitter account name in the profile data. If a twitter name is not available, I would like to display a default message.

    I assume shortcode isn't my answer and that this will require some level of customization. If so, can you tell me if this is something you are interested and available to do and for what fee? On a related note, appthemes has a marketplace (http://marketplace.appthemes.com/) where you could sell the customized version of this widget to the community of Vantage theme users.

    I look forward to hearing from you.

    Thanks!

    http://wordpress.org/extend/plugins/twitter-widget-pro/

  2. Aaron D. Campbell
    Member
    Plugin Author

    Posted 1 year ago #

    You'd need some code that pulls the username and drops it into a shortcode. Something like this:

    $username = your logic to pull in the username;
    do_shortcode( '[twitter-widget username="' . $username . '"]' );

    That could go into your theme wherever you want it to be, or you could use a filter like the_content to automatically add it to your post.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic