Hello Mahesh, I created the Child Theme and then in its functions.php I pasted the code and changed the Width and Height as you told me, just like bellow.
<?php
//
// Recommended way to include parent theme styles.
// (Please see http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme)
//
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array('parent-style')
);
}
//
// Your code goes below
//
add_action( 'init', 'catchresponsive_child_custom_thumbnail_size' );
function catchresponsive_child_custom_thumbnail_size() {
remove_image_size( 'catchresponsive-square', 200, 200, true ); // used in Archive Left/Right Ratio 1:1
add_image_size( 'catchresponsive-square', 325, 200, true ); // used in Archive Left/Right Ratio 16:9
The result is:
Parse error: syntax error, unexpected $end in /home/sosna518/public_html/narguilebr.com.br/wp-content/themes/child-themere/functions.php on line 20
What did I do wrong? I didn’t even use the Regenerate Thumbnails.