skip to Main Content

Expand The “Full-Width Media” For Blog Posts Across The Whole Screen

// Expand The "Full-Width Media" For Blog Posts Across The Whole Screen (by switching hooks)
add_action( 'init', function() {
	remove_action( 'wpex_hook_primary_before', 'wpex_blog_single_media_above' );
	add_action( 'wpex_hook_main_top', 'wpex_blog_single_media_above' );
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top