Customize WordPress Embed?
-
How can one remove Author and the Comment– and Share Icon in a WordPress Embed?
-
This topic was modified 3 years, 7 months ago by
Jan Dembowski.
-
This topic was modified 3 years, 7 months ago by
-
It does not seem to be an option for the block, but might be addressed via CSS. Please provide a link to a page on your site where we can see this. Thanks.
Alright, here’s a link with a WordPress Embed: bit.ly/3w77VBz
.wp-embed-footer { display: none; }To add or override CSS: use the “Additional CSS” option in the customizer. https://codex.wordpress.org/CSS#Custom_CSS_in_WordPress
Use the Chrome Developer Tools or Firefox Developer Tools to help you see and test changes to your CSS.
Thanks. I added the code using Additional CSS, you can see it in the Source Code. But it doesn’t work. I also tried adding an CSS !important Property.
Yes, I use a custom CSS plugin, and every other code I add in there works just fine. But I added the code you provided to both the custom CSS plugin and the standard Additional CSS option in the customizer.
Here is the code in the source code: https://imgur.com/CxXVMgY
I just purged the cache.
Let’s see if making it more specific helps:
.wp-embed .wp-embed-footer { display: none; }No, still not working unfortunately, WordPress just ignores this code…
What if you add a class to the embed block, under “advanced”, say “myembed”, then use
.myembed .wp-embed-footer { (etc)
If that doesn’t work, I’m out of ideas.
Thanks for taking the time, but still no.
Guess it just is not possible.
The topic ‘Customize WordPress Embed?’ is closed to new replies.
