Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Alex King

    (@alexkingorg)

    Sure, you can replace the tweet content with the URL of the tweet and WordPress should pull it in as an embed instead. All the data and hooks you need for this are there, but this may have a bad effect on your load time if you’re showing many embeds at once.

    What are the chances of a pull request on github adding this feature getting merged?

    Something like this:
    A setting in Settings->Twitter Tools->Accounts->User
    Below the “Create blog posts from tweets”
    A setting for “Use embedded format for tweets”

    which basically does an if statement in create_blog_post for $post_content to equal $this->status_url() if the setting is enabled.

    I’d also like something to eliminate the title altogether, it just duplicates the content, so in most themes it’s unnecessary. Something like a checkbox under ‘use embedded format’ that says ‘Don’t pull title from tweet’ but without disabling the title prefix so you can still say something like ‘From Twitter’ if you wanted.

    If the odds are good I can throw something up over the weekend.

    Plugin Contributor Alex King

    (@alexkingorg)

    Pretty slim. Just create a plugin for it:

    https://gist.github.com/alexkingorg/8907138

    Don’t output the title for tweets by customizing your theme:

    http://alexking.org/tweets

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Tweets as posts w/ Embed code’ is closed to new replies.