If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Greetings Kriesi and Forum –
We’re using Cubit @ http://www.lightmanufacturingllc.com (love it), but would like to add some relevant Alt-tags to the slider images and/or the main-pags sub-pages. Because so much of the main page for the theme is ‘assembled’ by the background PHP, it’s a little harder for the user to add the alt tags.
What’s the best place to add the alt-tag code in the Theme Editor?
I don’t want to break anything by mistake..
the easiest way is to hardcode the images. open up header.php and add your image files (including alt tag) after following code:
<!-- WANT TO EDIT YOUR SLIDESHOW IMAGES DIRECTLY? ADD ANY NUMBER OF IMAGES YOU LIKE BELOW-->
Makes sense for the main rotating images.
How about a solution for the three sub-page images? see http://www.lightmanufacturingllc.com for an example…
Note: it totally works to just edit the title / alt tags in the visual editor on the header_images page – no need to mess with the header.php
The topic ‘Add Alt Tags to rotating images in header, and main page 'sub-pages'?’ is closed to new replies.