I have add the alt an title tags to the logo. It is a common problem in all the themes using the avia framework. So i changed the line 395 in the function-set-avia-frontend.php file
$logo = "<img src=".$logo." alt='new alt information' title='new title information' />";
Actually I am using a child theme to customize the css. Is there a way to change this information in the framework and do not lose this information in a future update of the theme?
Thank you and best regards.
I have changed another file: line 63 in wp-content/themes/choices/includes/helper-social-media.php
$html .= "<a href='".$icon['social_icon_link']."' target='_blank'>".ucfirst($icon['social_icon'])."</a>";
I added the target=’_blank’ to pen the social icons in a new page. I do not want to change these files everytime I do an update. Is it possible?
You can the permission of that file to 444, so that it won’t be overwritten during an update. This will ensure that the file will be in a read only mode. :)
OK. It is not the “perfect way” but I will do it. At least this time I am writting all the changes I have done and also using a child theme for all the css modifications. Thank you Ismael and best regards from Spain.
The topic ‘Edit a framework file: how to avoid future update changes’ is closed to new replies.