If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I want to know what file do I need to edit in order to introduce an alt text for the logo. Also, what will happen if I write something inside the H1? Will a text appear on top of the logo? Why is the logo inside a h1? Where can I edit that from?
That is handled by the avia_logo function located here: /framework/php/function-set-avia-frontend.php (418-441).
Thanks, Josue, but it seems like the image title and alt are set up by some PHP variables and I don’t know PHP:
$image_description = $attachment->post_excerpt == “” ? $attachment->post_content : $attachment->post_excerpt;
$image_description = trim(strip_tags($image_description));
$image_title = trim(strip_tags($attachment->post_title));
What do I need to do in order for an image title and alt to appear? Right now they are empty. Do i need to edit a file, or to alter the code?
The logo’s attachment page is this one: http://hyperthermia-centre-hannover.com/?attachment_id=2469 and it is fully configured, with title, description, alt and everything.
As Josue said, please go to corona/framework/php folder and open function-set-avia-frontend.php and search
if($logo = avia_get_option('logo'))
And introduce alt text for logo here http://i.imgur.com/l0uM3pm.jpg
The topic ‘where to change the text and alt on the logo’ is closed to new replies.