If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Tagged: , , , ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #15999
    #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.