Dealing with wp-embed(4.4) output
-
So i’m using new wp embed feature for post embedding(copy&paste link to post) and i wanted to remove featured image from it, since it was messing up whole embed output.
Custom CSS classes does not react in any way with it, i’ve tried using:
.wp-embed-featured-image img
class withbody, !important, single
etc. and nothing happened.I removed few lines with div’s from embed-template.php in /wp-includes/ folder and it works, but there has to be better way to handle that. Function with filter or something will work too.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Dealing with wp-embed(4.4) output’ is closed to new replies.