Twitter Tools
[resolved] Tweets as posts w/ Embed code (4 posts)

  1. Bradleycorn
    Posted 1 year ago #


    I'm using this plugin to pull in my tweets as blog posts. Wondering if it's possible to pull in the twitter embed code for the tweet (as the body of the post) instead of just the tweet content?


  2. Alex King
    Plugin Contributor

    Posted 1 year ago #

    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.

  3. Wordletz
    Posted 1 year ago #

    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.

  4. Alex King
    Plugin Contributor

    Posted 1 year ago #

    Pretty slim. Just create a plugin for it:


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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Twitter Tools
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.