php - image_default_size doesn't change in wordpress -
i'd change default size images within posts. i've tried edit both /wp-admin/options.php
page , functions.php
file, none affect size. work default alignment , default link, not size.
here's snippet functions.php file
add_action( 'after_setup_theme', 'default_attachment_display_settings' ); function default_attachment_display_settings() { update_option( 'image_default_align', 'right' ); update_option( 'image_default_size', 'large' ); }
the images keep showing "full size".
you can changes in .css
particular class.
Comments
Post a Comment