Appreciation Earth Email Email_2 Group_2

Setting default media attachment settings in WordPress

April 26, 2013 Uncategorized WordPress

If you are building WordPress sites for clients and want to make sure that, whenever they add images into post or page content, the images are not wrapped in links and are of a certain size, then this is for you.

WordPress has a hidden options page which allows you to directly edit the options data. Navigate to yoursite.com/wp-admin/options.php. Then search for and edit the following options:

  • image_default_align – to change the alignment default: none, left, right, center
  • image_default_link_type – to change the linking default: file, custom, post, none
  • image_default_size – to change the size default: thumbnail, medium, large, full
Iain Building and growing WordPress products. I'm the product manager of ACF at WP Engine. I also develop plugins like WP User Manager and Intagrate. I write about the WordPress ecosystem over at WP Trends.
Comments