سلام دوستان من از قطعه کد زیر برای اضافه کردن لوگوی سایتم استفاده میکنم. من میخوام که class خودم رو به تگ img بدم برای اینکار چه روشی وجود داره؟
function themename_custom_logo_setup() {
$defaults = array(
'height' => 128,
'width' => 147,
'flex-height' => true,
'flex-width' => true,
'header-text' => array( 'site-title', 'site-description' ),
);
add_theme_support( 'custom-logo', $defaults );
}
add_action( 'after_setup_theme', 'themename_custom_logo_setup' );
ممنون.