Last active
September 15, 2015 16:08
-
-
Save kraftbj/bdc19f483c03e8815694 to your computer and use it in GitHub Desktop.
Force Jetpack's Content Width (for Tiled Galleries and other purposes when the theme's content width isn't set or being passed)
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
function bk_set_jetpack_width() { | |
$content_width = 750; | |
return $content_width; | |
} | |
add_filter('jetpack_content_width', 'bk_set_jetpack_width'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment