How to add a PHP scripts into WordPress

You could basically create a simple plugin, that will generate a shortcode. The function of this shortcode would be displaying the required images. You can choose between Ajax or maybe using the embedded PHP timer to trigger Ajax to retrieve the images. Then you embed this shortcode in your post or page (wherever you wish … Read more

ALT attribute in menu images

Yes, you can add the alt attribute. But there is a catch. When the theme is updated, all your changes or modification to the theme will be lost. It is recommended to make those changes in the child theme. You can learn more about WordPress child theme here