In WP, I used to be able to simply put in the Twitter URL in my blog posts and boom, the link got embedded properly automatically. Here’s an example of such a URL:
The same behavior is supposed to happen when you do:
The only way to get the embeds to work again is to go to each Twitter URL, find and copy the embed code, and add it in under the text or “html” view.
I cannot go through and edit all these twitter links to get them to be embedded again. There are just too many.
The source code shows me the p tags automatically get wrapped now:
I’ve tried each of the following independently:
1. Adding code to the bottom of my functions.php file –
remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' );
2. wpautop-control plugin
3. Raw HTML plugin
4. Deleting in visual mode and adding back into text mode.
When I achieve getting the twitter link to display without the <p> tags, the link just sits there as plain text and doesn’t get embedded.
An example of the correct source code after being embedded is:
<blockquote class="twitter-tweet" width="550"><p><a href="/web/20131007095739/https://twitter.com/jbecher">@jbecher</a> : "looking at numbers of overlap customers, we see a huge upside here alone + expect huge uptake in <a href="/web/20131007095739/https://twitter.com/search?q=%23EmergingMarkets&src=hash">#EmergingMarkets</a>" <a href="/web/20131007095739/https://twitter.com/search?q=%23OmniCommerce&src=hash">#OmniCommerce</a></p> <p>— Sven Denecken (@SDenecken) <a href="/web/20131007095739/https://twitter.com/SDenecken/statuses/364774739920687105">August 6, 2013</a></p></blockquote>
Any help is much appreciated in advance!
Hello, has anyone had any success with ironing out this issue?
- The topic ‘Twitter Embed URL Not Working’ is closed to new replies.