1. Home
  2. Wordpress
  3. Add image size

Register in the functions.php to add a new autogenerated image size for you posts and pages. Use name, width and height attributes to define the new size. By passing 9999 as a value of width or height the image will retain its original size for that dimension.

#wordpress#php
add_image_size( 'super-extra-large', 2400, 2000 );
copy
Full Wordpress cheatsheet
NordVPN NordVPN