0
1
2
3
4
add_image_size( 'sml_size', 300 );
add_image_size( 'mid_size', 600 );
add_image_size( 'lrg_size', 1200 );
add_image_size( 'sup_size', 2400 );
Each call to the function includes a name (so WordPress can identify the size) and a width. The new sizes will be 300, 600, 1200 & 2400 pixels wide. It is possible with the add_image_size function to have WordPress also set the height or crop the image, but the example above will keep the original image aspect ratio.
The example above only shows four new image sizes being added, but you may want to add more or less… this will be based on your theme design. Now any time an image is upload to WordPress, it will generate the new image sizes. The next step is to include them in the HTML.
Modify Function.php And Get More Image SizesModify Function.php And Get More Image Sizes

Every time you can upload image on Wp at its negative sizes. Its also automatically genrates 3 resized copies in the sandard sizes. 1 Thumbnail (150×150) 2 Medium (300×300) 3 Large (1024×1024) This is a really powerful feature as it can be customize…

Read more »

0
Replace Content in Your WordPress using SQLReplace Content in Your WordPress using SQL

Like we all know, we can use SQL to replace or remove some content in our WordPress using phpMyAdmin, on this post I will show you How To Replace/Remove Content on Your WordPress using SQL. On this trick you can access trough phpMyAdmin on your serv…

Read more »

0
Smart Protector v5.7 – Pro WordPress Copy ProtectionSmart Protector v5.7 – Pro WordPress Copy Protection

Smart Content Protector v5.7 is the go to Plugin toProtect the Text and Images in your WordPress site. In order to avoid Plagiarism, it is essential to make sure the Text and Images from your WordPress site is not copied. This Plugin serves as the C…

Read more »
 
 
Top