Created
June 25, 2013 19:34
-
-
Save Perun/5861631 to your computer and use it in GitHub Desktop.
oEmbed-Breite festlegen. Seit WordPress 3.5 muss man in der functions.php die Breite der oEmbeds (eingebettete Medien) festlegen. Siehe den Artikel http://www.perun.net/2012/12/13/wordpress-die-breite-der-oembeds-videos-bestimmen/. Im folgenden Beispiel wird die Breite auf 550 Pixel gesetzt.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//oEmbed-Breite | |
if (!isset($content_width)) $content_width = 550; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment