Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Change the archive image size for the Broadsheet WordPress theme :
* Plugin Name: Change Archive Image Thumbnail size.
* Plugin URI:
* Description: Change the size of the archive image thumbnails so that they can be made full width.
* Author: Ben Gillbanks
* Version: 1.0
* Author URI:
* Text Domain: broadsheet
function broadsheet_archive_image_size() {
add_image_size( 'broadsheet-archive', 800, 9999, false );
add_action( 'after_setup_theme', 'broadsheet_archive_image_size', 99 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment