Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Header Refreshes During Every Page Load


  #1  
Old Sep 6, 2011, 01:01 AM
c12281
 
120 posts · Jul 2010
WP 3.0.1; ATA 3.5.3; Mac OS X 10.6.4; Firefox 3.6.9
I've noticed that all of the sites I've developed using ATA reload the header in addition to the page content on every screen refresh. Is this normal? On other sites, I've noticed only the content below the header refreshes. I am getting a white blank screen every time I switch between pages. Thanks.
  #2  
Old Sep 6, 2011, 05:28 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Do you have multiple header images?
What version?
What is the URL?
What are the theme header options set to?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 6, 2011, 09:20 AM
c12281
 
120 posts · Jul 2010
WP 3.0.1; ATA 3.5.3; Mac OS X 10.6.4; Firefox 3.6.9
The sites are a bit different yet they refresh the same. Here are the specifics:

http://sweetboutiquellc.com
single header image
wp version: 3.2.1
ata version: 3.6.7
theme header options:
* blog title "no"
* show logo image "yes"
* tagline "yes"

http://muzzproductions.com
rotating header image
wp version: 3.2.1
ata version: 3.6.1
theme header options:
* custom header

http://muzzmarketing.com
single header image
wp version: 3.2.1
ata version: 3.6.1
theme header options:
* custom header
this site is also very slow...


I do have one other site where the header remains steady during reloads.

http://laubertool.com
single header image
wp version: 3.0.4
ata version: 3.6.1
theme header options:
* show logo image "yes"
* show blog title "no"
* show blog tagline "yes"

Please let me know if you need additional info. Any help would be greatly appreciated. Thanks!
  #4  
Old Sep 6, 2011, 01:15 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I'm sorry I meant header image options
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Sep 6, 2011, 01:57 PM
c12281
 
120 posts · Jul 2010
WP 3.0.1; ATA 3.5.3; Mac OS X 10.6.4; Firefox 3.6.9
Suuuuuuuuure. Now you tell me.

Is there an easy way for me to share this info with you? I tried a screen shot of the options page but the attachment was too large...
  #6  
Old Sep 6, 2011, 02:40 PM
c12281
 
120 posts · Jul 2010
WP 3.0.1; ATA 3.5.3; Mac OS X 10.6.4; Firefox 3.6.9
OK -- here's the requested info. I've also attached a pdf in case you can't read this. Hoping there's a fix to this issue...

LT SB MP MM
Rotate header images w/ Java 0 0 3 0
Sort header images? Sort Sort Sort Sort
Fade images with Java? 0 0 4 0
Preload header images? Yes Yes No Yes
Make image clickable? No No No Yes
Header image height 150 150 251 245
Header image alignment TC TC TC TC
Overlay blog title? No No No No
Overlay blog tagline No No No No

LT = http://laubertool.com DEFALT SETTINGS
SB = http://sweetboutiquellc.com DEFAULT SETTINGS
MP = http://muzzproductions.com
MM = http://muzzmarketing.com

ALL SITES SHOW REFRESH HEADER ON EVERY PAGE LOAD EXCEPT LAUBER TOOL.
Attached Files
File Type: pdf BFA_Header_Summary.pdf (19.0 KB, 1933 views)
  #7  
Old Sep 6, 2011, 03:02 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What are the file sizes of the different images
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old Sep 6, 2011, 11:02 PM
c12281
 
120 posts · Jul 2010
WP 3.0.1; ATA 3.5.3; Mac OS X 10.6.4; Firefox 3.6.9
I am not using a header image on two of the sites that still have the refresh problem so not sure image size is the problem. The images are the same size as the header area for the sites that do have header images.
  #9  
Old Sep 7, 2011, 10:48 AM
c12281
 
120 posts · Jul 2010
WP 3.0.1; ATA 3.5.3; Mac OS X 10.6.4; Firefox 3.6.9
OK -- went back and looked at the actual file sizes for the images and they are all relatively small (under 100kb). Anything else I can check? Thanks...
  #10  
Old Sep 8, 2011, 05:34 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I'll take a look later today, I've been camping and am going home this morning
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #11  
Old Sep 8, 2011, 09:50 AM
soarhighest
 
3 posts · Nov 2009
I have a quick question. I took your code below from one of your older posts on how to add a widget area to one page:
<?php if (is_page(21)) { bfa_widget_area('name=My header widget area'); } ?>

I am trying to do the opposite, i.e., omit one page from the code in my header. Is there away of doing that?

Code is: <?php if (function_exists("easing_slider")){ easing_slider(); }; ?>.

I essentially want the slider to disappear on one of my pages only. Any help appreciated!!

Thanks in advance.

SH
  #12  
Old Sep 8, 2011, 09:58 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
HTML Code:
<?php if (!is_page(21) AND (function_exists("easing_slider"))) { easing_slider(); }; ?>.
if NOT page 21 and easy slider exists then ........
so it will fail on page 21
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #13  
Old Sep 8, 2011, 12:03 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I'm seeing the header refresh for all the sites. Threre are some times that it may look like it didn't refresh, but I can swap to another page and see it.

this is one of those things that there are so many variables that it will be impossible to figure out
what browser? what apps running on your machine? what is the speed of the cpu? how much memory? internet connection speed? How many hops does it take to get to the server, what else is running on the server...
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #14  
Old Sep 9, 2011, 08:50 AM
c12281
 
120 posts · Jul 2010
WP 3.0.1; ATA 3.5.3; Mac OS X 10.6.4; Firefox 3.6.9
It only happens for my wp sites running ATA. That's why I think it's related. It does not happen with any other sites that I reference. So I don't think the items you referenced below are the issue. Has to be something either with WP or ATA. Any other recommendations on what I can try??? Doesn't look professional to me...
  #15  
Old Sep 10, 2011, 06:41 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I just went to all four sites you reference and it happens on all four when I visit them.

Here is a link to the issue in the Wordpress.org forum talking about it http://wordpress.org/support/topic/p...tbe-or-swf-why

The web page is being resent and a split second delay can cause the blink
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #16  
Old Sep 12, 2011, 07:10 AM
soarhighest
 
3 posts · Nov 2009
Quote:
Originally Posted by juggledad
HTML Code:
<?php if (!is_page(21) AND (function_exists("easing_slider"))) { easing_slider(); }; ?>.
if NOT page 21 and easy slider exists then ........
so it will fail on page 21
Thank you so much. That worked perfectly!

SH
  #17  
Old Sep 12, 2011, 09:11 AM
c12281
 
120 posts · Jul 2010
WP 3.0.1; ATA 3.5.3; Mac OS X 10.6.4; Firefox 3.6.9
I went ahead and changed the theme from ATA to Twenty Ten and the page load problem continued so must be a wordpress issue. I looked at the link you forwarded and at least now I know it's happening on other sites as well. Just wish WP provided a better response! Thanks for your help on this...
  #18  
Old Sep 12, 2011, 09:37 AM
c12281
 
120 posts · Jul 2010
WP 3.0.1; ATA 3.5.3; Mac OS X 10.6.4; Firefox 3.6.9
OK -- making progress. Just found a discussion on WP that discusses this issue.

http://wordpress.org/support/topic/h...4#post-2335177

The issue has to do with the latest version of wordpress. Please take a look at their comment below and the direction to add code to the function.php file. Will this change work for ATA? I did try to cut and paste the code in the functions.php file but it didn't seem to do anything. Don't know if I put it in the right place.

"For anyone using jQuery Tools in conjunction with a WordPress website, you'll notice that WP 3.2 causes problems. This is because WP 3.2 automatically loads jQuery 1.6.1, whereas WP 3.1 loaded jQuery 1.4.4.

If you've upgraded to WP 3.2 and need a quick fix, try adding this to your functions.php:

HTML Code:
// Downgrade to jQuery 1.4.4 in order to support jQuery Tools
function downgrade_jquery() {
        global $wp_scripts;

        // We want to use version 1.4.4 of jQuery, but it may break something in the admin so we only load it on the actual site.
        if ( !is_admin() ) :
                wp_deregister_script('jquery');
                wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js', false, '1.4.4');
        endif;
}
add_action( 'wp_head', downgrade_jquery() );

Last edited by juggledad; Sep 12, 2011 at 03:23 PM.
  #19  
Old Sep 12, 2011, 03:23 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Put the code at the end of functions.php right before the final '?>' on line 1045. so you currently have
HTML Code:
//add_action('login_head', 'my_custom_login_logo');

?>
and you will change it to
HTML Code:
//add_action('login_head', 'my_custom_login_logo');

// Downgrade to jQuery 1.4.4 in order to support jQuery Tools
function downgrade_jquery() {
        global $wp_scripts;

        // We want to use version 1.4.4 of jQuery, but it may break something in the admin so we only load it on the actual site.
        if ( !is_admin() ) :
                wp_deregister_script('jquery');
                wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js', false, '1.4.4');
        endif;
}
add_action( 'wp_head', downgrade_jquery() );

?>
I still get a flash, but it is much less noticeable
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #20  
Old Sep 12, 2011, 04:16 PM
c12281
 
120 posts · Jul 2010
WP 3.0.1; ATA 3.5.3; Mac OS X 10.6.4; Firefox 3.6.9
Well, the functions.php file looked a little differently on my end. Here's where I added the code. I didn't have any luck with this URL (laubertool.com). Still a long flash. I actually upgraded this one to 3.2.1 this morning. It previously did not have the flash and that's how I knew it had to be connected to the version. Let me know if I should change anything below. Thanks.

}
add_custom_image_header('header_style', 'admin_header_style');

register_default_headers( array(
'header6' => array(
'url' => '%s/images/header/header6.jpg',
'thumbnail_url' => '%s/images/header/header6-thumb.jpg',
'description' => __( 'Raspberry', 'twentyten' )
),
'IMG_1479' => array(
'url' => '%s/images/header/IMG_1479.jpg',
'thumbnail_url' => '%s/images/header/IMG_1479-thumb.jpg',
'description' => __( 'Apple Blossom', 'twentyten' )
),
'IMG_1496.jpg' => array(
'url' => '%s/images/header/IMG_1496.jpg',
'thumbnail_url' => '%s/images/header/IMG_1496-thumb.jpg',
'description' => __( 'Spring', 'twentyten' )
)
) );

*/
// Downgrade to jQuery 1.4.4 in order to support jQuery Tools
function downgrade_jquery() {
global $wp_scripts;

// We want to use version 1.4.4 of jQuery, but it may break something in the admin so we only load it on the actual site.
if ( !is_admin() ) :
wp_deregister_script('jquery');
wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js', false, '1.4.4');
endif;
}
add_action( 'wp_head', downgrade_jquery() );

?>
  #21  
Old Sep 12, 2011, 05:04 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
it looks like you made some changes to functions.php.

What are these changes for and where did you get them?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #22  
Old Sep 12, 2011, 05:41 PM
c12281
 
120 posts · Jul 2010
WP 3.0.1; ATA 3.5.3; Mac OS X 10.6.4; Firefox 3.6.9
I actually didn't make any changes other than the jquery change that I just added. Otherwise, I haven't touched this before...
  #23  
Old Sep 12, 2011, 05:45 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
sorry, that code is in Functions.php, but it is not at the bottom - that is commented out code at line 956 and the file s 1045 lines long
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #24  
Old Sep 12, 2011, 07:18 PM
c12281
 
120 posts · Jul 2010
WP 3.0.1; ATA 3.5.3; Mac OS X 10.6.4; Firefox 3.6.9
Here's what I did:

Went to Appearances, Editor
Selected functions.php file
Scrolled to bottom of file
Inserted the new code

I don't see any line numbers accessing the functions.php file this way. Is there another way to do it?

Thanks.
  #25  
Old Sep 12, 2011, 07:49 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
is what you posted the end of the file? cause if so, the entire file is not there. You can do a select all and copy it and paste it into a text editor to see the line numbers.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Header problem? - getting message; "Please do not load this page directly. Thanks!" jorgfoto Header configuration & styling 3 Jun 22, 2011 10:59 AM
Can I reduce load time by disabling rotating header? lhanft Header configuration & styling 5 Jan 31, 2010 11:20 AM
[SOLVED] My search box refreshes my page pilsen1 Header configuration & styling 5 Oct 4, 2009 05:20 PM
CSS used in 3.2.2 not working correctly in 3.4.2 on intial page load bcorrigan New Versions, & Updating 2 Jul 14, 2009 09:59 AM
Inserting Flash into Header - Will not Load gotogirl1113 Header configuration & styling 3 Jun 23, 2009 08:51 PM


All times are GMT -6. The time now is 04:28 PM.


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