WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Fully customize output

[Resolved] Fully customize output

  • Matt
    Member

    @slammeddime

    You have some options now for before/after tweet, etc… what would be really awesome would be to allow us to fully customize the html of a tweet as well.

    Something like giving us a textarea in the settings where we could put in something like the following:

    "<span>{tweetText}</span><a href="{tweetUrl}">{tweetTime}</a>"

    You could create a number of predefined variables based on the information in each tweet returned from the API call, plus a few custom ones to make it easier for us to insert them into the textarea.

    Also – can you create an option for relative times, in addition to specifying a date format (ala: http://stackoverflow.com/a/2690541)?

    http://wordpress.org/extend/plugins/twitget/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Boštjan Cigan
    Member

    @zerocool51

    I’ll try adding both, but I’m a little busy at the moment.

    Cheers.

    Plugin Author Boštjan Cigan
    Member

    @zerocool51

    Sorry it took so long. The custom parameters are:

    {$tweet_text} - the text of the tweet
    {$tweet_time} - the time of the tweet
    {$tweet_location} - the location of the tweet (example: Budapest)
    {$profile_image} - the url to the profile image of the user
    {$user_real_name} - the real name of the user
    {$user_twitter_name} - username of the twitter user
    {$url} - website url of the user
    {$user_description} - description of the user
    {$user_location} - user location
    {$follower_count} - number of followers
    {$friends_count} - number of friends

    But you can check all that in version 1.3 in the “Advanced settings” section.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Fully customize output’ is closed to new replies.