Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No thumbnails for oEmbed post #113

Open
WordPresseur opened this issue Jul 23, 2020 · 0 comments
Open

No thumbnails for oEmbed post #113

WordPresseur opened this issue Jul 23, 2020 · 0 comments

Comments

@WordPresseur
Copy link

When a post is embedded by oEmbed (a URL mentioned in another post), no thumbnails are shown.

It can be solved by this code in functions.php.
add_filter( 'do_rocket_lazyload', function ($r) { return $r && !is_embed(); } );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant