Tagged: , , , ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #15999

    Hello,

    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.

    #89765

    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?

    #89766

    Hi Dietista,

    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. :)

    Regards,

    Ismael

    #89767

    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.

    #89768

    Hi Dietista,

    Glad that we could help. :)

    Cheers,

    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Edit a framework file: how to avoid future update changes’ is closed to new replies.