Posted By

orenshim on 07/03/18


Tagged

image wordpress size


Versions (?)

Add New image Size for WordPress


 / Published in: PHP
 

Paste in Code Sinippets chapter 5

  1. add_image_size?( '?content?', '?750?', '?9999?', ?false? );?
  2. function my_custom_sizes?( $?sizes? ) {?
  3. ? ?return array_merge?( $?sizes?, ?array?(?
  4. ? '?content?' => ?__?( '?Content?' ),?
  5. ? ) );?
  6. ?}?
  7. add_filter?( '?image_size_names_choose?', '?my_custom_sizes?' );?
  8. view raw

Report this snippet  

You need to login to post a comment.