Hi Guys,
Download the new theme to your computer, update images you want to use prepare everything before loading theme with new versioin number.
By manually installing the new version, you can actually have multiple versions of the theme in the theme picker. This allows you to ‘try out’ the new version and switch back to the old version if you have an issue. So here is a suggest list of steps to take to install a new version of the theme.
A) Do a backup.
Before any major upgrade (wordpress/theme/plugin) you should always do a database backup so you can recover back to the point in time before making the change. I also recommend backing up wp-config.php and the wp-content folder (contains your themes, plugins and uploads) on a periodic basis. These can be used it the event of a major disaster to help recover your site
B) Download the latest version of the theme to your computer
go to https://wordpress.bytesforall.com/ to get the latest version of the theme
C) unzip the file
When you unzip the theme you will see t is a folder with nubers at the end. these are the version number and allow you to have multiple copies of the theme in the WordPress themes folder
D) Copy in your images, deleting the supplied images
at this point, you can copy in your favicon, delete the theme supplied header images and add your own images into the header.
E) Check for any patches
Go to the ‘New Versions, & Updating’ forum (https://forum.bytesforall.com/forumdisplay.php?f=12) and review and BUGFIX’s for the release and apply them.
F) Update any code changes you made in the previous version (code customization)
If you made any actual changes to the code (not recommended) you should review the changes and apply them to the new version
G) Add in any custom templates you use
If you are using any custom templates, put them in the new theme folder.
H) Upload the theme folder to your host
FTP the new version’s folder to the ‘wp-content/themes’ themes folder on your host. Put each version in a new folder like atahualpa353, atahualpa364 etc. (See https://forum.bytesforall.com/showthread.php?t=4887 for an explaination of FTP)
I) Activate the theme
Go to the WordPress Dashboard, Appearances, Themes and activate the new version. With the theme versions in different folders, you can switch between versions in case you missed something.
J) Verify URL Names in the options
You my need to change the path name to get an image if you have been using the full path name.
That should be it. You have manually upgraded the theme.
Fixes from Forum – do these before loading upto your host.
Following fixes for 364
1. If you have a Category with a multi line description, setting the option ‘Title tags in Category Menu Bar’ to ‘No’ will not prevent the title from displaying.
To fix this edit ‘bfa_hor_cats.php and change line 29 (version 3.6.1 and 3.6.4)
$list_cat_string = preg_replace(“/title=\”(.*?)\”/si”,””,$list_cat_string);
2. Note: 2/27/11 – the css.php has been updated to contain the changes in BUGFIX 364-02
UPDATE: This should now fix it for both the Atahualpa and WP menus. Please use these files:
css.php.zip
bfa_new_wp3_menus.php.zip
This only effects the menu’s when using the Atahualpa Automatic menus. It will not change things if you are using a WordPress menu
When using %page-center or %cat-center the option ‘Border around all menu items’ and ‘Background color’ are being ignored. This was caused by a hard coded assignment in the CSS. In addition, there is a difference in how the HTML elements are being built when using the Atahualpa menus verses the WordPress menus.
This fix will cause the use of those two options when using %page-center or %cat-center in all cases.
Unzip the following file and upload it to your host replacing the original file. The changes for BUGFIX 364-02 also applied.
3. If the option ‘Overlay Blog TITLE over Header Image(s)?’ is set to YES, the Tag line will also overlay the header image even if the option ‘Overlay Blog TAGLINE over Header Image(s)?’ is set to ‘No’
This is caused by a missing set of brackets in an ‘IF’ statement. This error was introduced in 3.6.0.
To fix it, edit bfa_header_config.php and change lines 344-345 to
if ( $bfa_ata[‘overlay_blog_tagline’] == “Yes” ) {
echo ‘<p class=”tagline”>’; bloginfo(‘description’); echo ‘</p>’;
}
or you can download and unzip the attached file and upload it to your host. Put it in the ‘atahualpa/functions’ folder replacing the original.
bfa_header_config.php.zip
4. If you set the ‘Custom read more’ to have a link to the full post, but you are also using the ‘Use Post / Page Option’ and have a blank post title, then no permalink will show if you are displaying excerpts.
In addition, you will see the word ‘Permalink’ displayed in place of the blank title.
This fix corrects the code by removing the word ‘permalink’ from the post title. It also adds the word ‘Permalink’ to the ‘custom read more’ if you are using ‘%title%’ in it’s configuration.
edit functions.php and change line 285 (version 3.6.4) to
if ( get_the_title() == ” ) {
$custom_read_more = str_replace(‘%title%’, ‘Permalink’, $custom_read_more);
} else {
$custom_read_more = str_replace(‘%title%’, the_title(”,”,FALSE), $custom_read_more);
}
edit bfa_post_parts.php and change lines 42-47 (version 3.6.4) to
if ( (!is_single() AND !is_page()) OR $bfa_ata_display_body_title == ” ) {
or you can download and unzip the attached files and upload them to your host.
Put ‘functions.php’ in the ‘atahualpa’ folder replacing the original.
Put ‘bfa_post_parts.php’ in the ‘atahualpa/functions’ folder replacing the original.
functions.php.zip
bfa_post_parts.php.zip
5. prior to 3.6.1, you could access $post->post_modified in the ‘FOOTER: Homepage’, ‘FOOTER: Multi Post Pages’, ‘FOOTER: Single Post Pages’, or ‘FOOTER: “Page” Pages’ but due to the use of stream wrappers in 3.6.x – $post is no longer valid.
To fix this edit bfa_post_parts.php (it’s in the ‘functions’ folder) and change
in version 3.6.1 – line 176
in version 3.6.4 – line 171
from
HTML Code:
global $bfa_ata;
to
HTML Code:
global $bfa_ata, $post;
Visit the forum and double check I have not omitted anything in error. If you have any problems contact your host, I am sure they will be able to assist you and good luck.