mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-02 01:01:18 +03:00
Theme: Update $content_width
to 960
This matches the width of the content in the global header and the About page.
This commit is contained in:
parent
4bf4f9a1f0
commit
5402cdd3f7
|
@ -113,7 +113,7 @@ add_action( 'after_setup_theme', __NAMESPACE__ . '\setup' );
|
||||||
* @global int $content_width
|
* @global int $content_width
|
||||||
*/
|
*/
|
||||||
function content_width() {
|
function content_width() {
|
||||||
$GLOBALS['content_width'] = apply_filters( 'wporg_plugins_content_width', 640 );
|
$GLOBALS['content_width'] = 960;
|
||||||
}
|
}
|
||||||
add_action( 'after_setup_theme', __NAMESPACE__ . '\content_width', 0 );
|
add_action( 'after_setup_theme', __NAMESPACE__ . '\content_width', 0 );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue