How to customize WordPress embeds to match your theme #297
Locked
justintadlock
started this conversation in
Topic Ideas
Replies: 1 comment
-
This topic was approved in the 9/5 editorial group meeting. Please continue the conversation on the issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
WordPress embeds let any WP site's posts be embed anywhere.
But did you know that you can create a custom
embed.php
template to customize it? There's no block template equivalent, but there are many hooks that you can filter and even load custom CSS to to make it match your theme.You can even customize the embed code panel:
This tutorial would explore all the various tips, tricks, and techniques to completely customizing a site's embedded posts so that they match their brand/theme when shared on third-party sites.
A lot of the techniques that would be covered (particularly PHP) are covered in this file:
Beta Was this translation helpful? Give feedback.
All reactions