Mostly Harmless

Mostly about my amusement

Tag

oEmbed

My oEmbed discovery links work (It was me)

I thought I broke my oEmbed discovery links but I had a more fundamental problem. I had broken fancy permalinks on my nginx configuration for a while and didn’t realize it. I revisited the Nginx Codex page and did a stare and… Continue Reading →

oEmbed not working (I’m convinced it’s me)

One of the new WordPress 4.4 features is the ability for your installation to become an oEmbed provider. In plain English you can paste your post URL and get a result as if you were embedding a YouTube URL. I… Continue Reading →

Or center embedded tweets with just CSS

After my earlier post on “Centering embedded tweets in WordPress” I’d gotten a reply from Ipstenu and Otto on Twitter. @jan_dembowski You can override it with CSS and !important. I did on a bbPress. — ipstenu (Mika E.) (@Ipstenu) July… Continue Reading →

Centering embedded tweets in WordPress

Update: While the below solution is fun and works, it’s a little heavy handed code-wise. It’s easier to modify the presentation of the tweet using CSS which I explain in the next post. A better solution is probably documented somewhere,… Continue Reading →

Fun with oEmbed and Twitter

This tweet is being displayed using oEmbed between WordPress and Twitter. This capability was added a few minutes ago after I pasted Otto’s code snippet into my theme’s functions.php file: That’s pretty remarkable. I’ve embedded a tweet that has an… Continue Reading →

© 2019 Mostly Harmless — Powered by WordPress

Theme by Anders NorenUp ↑