Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating »

Atahualpa3.7.25 - this release has one fix


  #1  
Old Sep 24, 2020, 02:27 AM
juggledad's Avatar
juggledad
 
23,755 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Atahualpa3.7.25 - this release has one fix

The attached file is Atahualpa3.7.25 - this release has one fix (thanks to kdawes01) that allows Atahualpa to run with WordPress 5.5

Note: development of Atahualpa in no longer on going and another change in WordPress could potentially cause another error. This fix has been minimally tested so be sure to backup your database and files before updating to this version.

Better yet, you should apply it to a test site and check things out before using it in production.


atahualpa3725.zip
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #2  
Old Sep 24, 2020, 12:00 PM
SharonJ's Avatar
SharonJ
 
643 posts · Sep 2010
Duncan BC Canada
Thank you, very, very much to kdawes01 and to you, Juggledad. Trying to learn new themes that do not have the many, many options I am used to with Atahualpa has been absolute torture.

I am very grateful.
  #3  
Old Oct 15, 2020, 08:42 AM
extremecarver
 
106 posts · Jul 2009
I've found another bug regarding jquery! The MSIE6 detection is breaking some plugins - namely shortcodes ultimate.

So in js.php you should remove the whole msie6 detection (no-one is using internet explorer version 6 anymore anyhow - so get rid of the detection - there is something affected here too):


P.S. - if someone else finds bugs related to WP 5.5 / 5.6 please also report them here. It's actually hard to believe why no-one else found this one. It showed pretty prominent in browser console.

To remove in js.php

Quote:
/* For IE6 */
if (jQuery.browser.msie && /MSIE 6\.0/i.test(window.navigator.userAgent) && !/MSIE 7\.0/i.test(window.navigator.userAgent) && !/MSIE 8\.0/i.test(window.navigator.userAgent)) {

/* Max-width for images in IE6 */
var centerwidth = jQuery("td#middle").width();

/* Images without caption */
jQuery(".post img").each(function() {
var maxwidth = centerwidth - 10 + 'px';
var imgwidth = jQuery(this).width();
var imgheight = jQuery(this).height();
var newimgheight = (centerwidth / imgwidth * imgheight) + 'px';
if (imgwidth > centerwidth) {
jQuery(this).css({width: maxwidth});
jQuery(this).css({height: newimgheight});
}
});

/* Images with caption */
jQuery("div.wp-caption").each(function() {
var captionwidth = jQuery(this).width();
var maxcaptionwidth = centerwidth + 'px';
var captionheight = jQuery(this).height();
var captionimgwidth = jQuery("div.wp-caption img").width();
var captionimgheight = jQuery("div.wp-caption img").height();
if (captionwidth > centerwidth) {
jQuery(this).css({width: maxcaptionwidth});
var newcaptionheight = (centerwidth / captionwidth * captionheight) + 'px';
var newcaptionimgheight = (centerwidth / captionimgwidth * captionimgheight) + 'px';
jQuery(this).css({height: newcaptionheight});
jQuery("div.wp-caption img").css({height: newcaptionimgheight});
}
});

/* sfhover for LI:HOVER support in IE6: */
jQuery("ul li").
hover( function() {
jQuery(this).addClass("sfhover")
},
function() {
jQuery(this).removeClass("sfhover")
}
);

/* End IE6 */
}
__________________
Don't settle for lousy expensive Maps - Get free Maps based on Openstreetmap with great autorouting for cyclists, hikers and Mountainbikers at http://openmtbmap.org

Last edited by extremecarver; Oct 15, 2020 at 08:46 AM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Autoupgrading atahualpa 3.6.4 over 3.5.3 currently in folder atahualpa3.5.3 NoahS New Versions, & Updating 1 Apr 19, 2011 08:51 PM
[SOLVED] Atahualpa3 downloaded today but not intalling properly TheDuckShoot New Versions, & Updating 2 Jul 25, 2010 12:55 PM
[SOLVED] How to change header image on Atahualpa3.4.1 pilsen1 Header configuration & styling 4 Sep 26, 2009 05:53 AM
3.1.3 - Backslashes are getting added like in the first release bseppa New Versions, & Updating 3 Dec 23, 2008 09:48 PM
Bug: with /wp-content/themes/atahualpa3/style.css.php chris Atahualpa 3 Wordpress theme 6 Dec 13, 2008 01:00 AM


All times are GMT -6. The time now is 11:28 AM.


Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.