با سلام و خسته نباشید بنده برای تصاویر شاخص در ارسال مطلب در وردپرس از کد زیر استفاده میکنم ولی خطا میده مشکل چیه؟چکار باید کرد
متن خطا:
Warning: Use of undefined constant alt - assumed 'alt' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\wp-cms\wp-content\themes\panteaweb\index.php on line 18
کد برنامه
<?php (get_the_post_thumbnail()) ?>
<?php the_post_thumbnail(array(150,150),array(alt=>get_the_title(),title=>get_the_title())); ?>