We have purchased the Abundance theme and have created a custom css folder for all of our css changes, which I understand won’t be affected with any future updates. My question, however, relates to some custom PHP. For example we changed the percentage of the image container on the product page as well as the percentage of the product description container. We have our product page looking how we would like, but are pretty sure that future updates would overwrite our PHP changes. How can we make these minor alterations without being affected with future updates? Please advise.
I don’t think I was accurate in my description of the issue above as the image containers were also changed in our custom css. Here is a php example. We installed an SEO plugin and within the documentation it recommends we change the php line within the header file from
<!– page title, displayed in your browser bar –>
<title><?php bloginfo(‘name’); ?> | <?php is_home() ? bloginfo(‘description’) : wp_title(”); ?></title>
<title><?php wp_title(”); ?></title>
however, will this change be overwritten when updates occur to the Abundance/header.php file?
to avoid the losses on upgrade, we should code like hooks. in that way we can surely avoid some losses. we cant assure for some files wont to be change on upcoming updates. because our theme based on woo-commerce. when feature improved over that plugin, we need to change the needed files.
The topic ‘What files are not affected in future updates?’ is closed to new replies.