Theme Function – set default image size for Gallery shortcode feature
/wp-includes/media.php line: 784 –
extract(shortcode_atts(array( 'order' => 'ASC', 'orderby' => 'menu_order ID', 'id' => $post->ID, 'itemtag' => 'dl', 'icontag' => 'dt', 'captiontag' => 'dd', 'columns' => 3, 'size' => 'thumbnail, 'include' => '', 'exclude' => '' ), $attr));
[Please post code snippets between backticks or use the code button.]
How do you setup up a function in your theme to override the default size ‘thumbnail’ – to size = full, or large.
- The topic ‘Theme Function – set default image size for Gallery shortcode feature’ is closed to new replies.