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 » New Versions, & Updating »

[SOLVED] Having problems with rotating header image and tagline in upgrade from 3.5.3


  #1  
Old Feb 15, 2011, 03:52 PM
threedogmoon
 
28 posts · May 2010
NYC
The website is http://www.pupsdaily.com

Problem with header image: At one point it shows no image at all for some reason (only shows background).

Problem with tag line: It keeps showing the tag line even though I have it set to off. This wasn't a problem in 3.5.3

I made the following mods to bfa_header_config.php in Atahualpa 3.5.3 to show my logo up over the left sidebar:

Line 334:
Code:
// END: If Header Opacity 

	if ( $bfa_ata['overlay_blog_title'] == "Yes" OR $bfa_ata['overlay_blog_tagline'] == "Yes" ) {
		echo '<div class="titleoverlay"><a href="http://www.pupsdaily.com"><img class="logo"
  src="http://www.pupsdaily.com/wp-content/themes/atahualpa/images/logo.png" 
alt="Helping Dogs find Homes" /></a>'; 
		if ($bfa_ata['overlay_blog_title'] == "Yes") {
			echo '<h' . $bfa_ata['h_blogtitle'] . ' class="blogtitle"><a href="'; bloginfo('url'); echo '/">'; 
			bloginfo('name'); echo '</a></h' . $bfa_ata['h_blogtitle'] . '>';
		}
		if ($bfa_ata['overlay_blog_tagline'] == "Yes") {
			echo '<p class="tagline">'; bloginfo('description'); echo '</p>';
		}
		echo '</div>';
I made these changes to bfa_header_config.php in Atahualpa 3.6.4:
Line 333:
Code:
// END: If Header Opacity 

		if ( $bfa_ata['overlay_blog_title'] == "Yes" OR $bfa_ata['overlay_blog_tagline'] == "Yes" ) 
		{
			echo '<div class="titleoverlay"><a href="http://www.pupsdaily.com"><img class="logo"
  src="http://www.pupsdaily.com/wp-content/themes/atahualpa/images/logo.png" 
alt="Helping Dogs find Homes" /></a>'; 
			
			if ( $bfa_ata['overlay_blog_title'] == "Yes" ) {
				echo '<h' . $bfa_ata['h_blogtitle'] . ' class="blogtitle"><a href="' . $homeURL . '/">'; 
				bloginfo('name'); echo '</a></h' . $bfa_ata['h_blogtitle'] . '>';
			}
			
			if ( $bfa_ata['overlay_blog_tagline'] == "Yes" ) 
				echo '<p class="tagline">'; bloginfo('description'); echo '</p>';

			echo '</div>';
I appreciate the help, and I have donated!
  #2  
Old Feb 15, 2011, 06:11 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
it seems to be this code in your footer
HTML Code:
<script src="http://www.pupsdaily.com/wp-content/plugins/tweetmeme/button.js" type="text/javascript"></script>    
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Feb 15, 2011, 06:22 PM
threedogmoon
 
28 posts · May 2010
NYC
Thanks, disabling that plugin fixed the disappearing header image problem.

Do you happen to know why I am unable to hide the wordpress tagline any more?
  #4  
Old Feb 15, 2011, 07:02 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Just what is th etabline and wheere is it showing?

(you need to flush the wp-super-cache cache, the error is still showing up.)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Feb 15, 2011, 07:08 PM
threedogmoon
 
28 posts · May 2010
NYC
Supercache is inactive. I'm not sure what error you're talking about.

The tagline is:
"Helping Dogs find Homes All Dogs up for Adoption. Helping Dogs Find Homes!"

It is showing up at the top left next to the logo. Atahualpa has a setting to shut this off, which worked in 3.5.3 but now does not work in 3.6.4

I modded the file above to show my logo over the left sidebar, but the code in the new (3.6.4) version has changed some.

Last edited by threedogmoon; Feb 15, 2011 at 07:27 PM.
  #6  
Old Feb 16, 2011, 12:37 PM
threedogmoon
 
28 posts · May 2010
NYC
Tagline is coming from somewhere else....

Is there any database entry I need to clear or something. It seems like atahualpa is just not registering the setting to turn off the tagline from the settings page.

The tagline showing up at the top of my site is showing up unstyled. I have atahualpa set to not show the tagline with a No in the selection window. I tried changing the code in the line from "Yes" to "No" (bfa_header_config) basically reversing the control to turn it on and off. When I do this, the tag line shows up in bright blue text the way I have it styled. So the unstyled tagline you see at the top of my site now is being pulled in some other way, which explains why atahualpa settings don't work on it....and I am not sure how its being pulled up there.

Code:
	if ( $bfa_ata['overlay_blog_tagline'] == "No" ) 
				echo '<p class="tagline">'; bloginfo('description'); echo '</p>';
Basically, it seems like this newer version of Atahualpa is not able to control the tagline if it is filled in in the wordpress general settings, whereas the old Atahualpa was able to do so. Let me know if I am wrong, but I think that the only solution is to delete the text I have entered there.

Last edited by threedogmoon; Feb 16, 2011 at 12:58 PM. Reason: Tried something else
  #7  
Old Feb 16, 2011, 02:59 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
if you go to dashboard->settings->General, what are your
1) site title
2) tag line
set to?

P.s. instead of messing with the code, why not use the new header image overlay (ato->Header Image->NEW Overlay Header Image) and point at your logo and then position it where you want?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Feb 16, 2011 at 03:07 PM.
  #8  
Old Feb 16, 2011, 03:48 PM
threedogmoon
 
28 posts · May 2010
NYC
Quote:
Originally Posted by juggledad
if you go to dashboard->settings->General, what are your
1) site title
2) tag line
set to?

P.s. instead of messing with the code, why not use the new header image overlay (ato->Header Image->NEW Overlay Header Image) and point at your logo and then position it where you want?
I haven't messed with my site's general settings through a bunch of atahualpa updates.
Site Title -- is blank
Tag Line -- says "All Dogs up for Adoption. Helping Dogs Find Homes!"

That tag line was filled out since I started using Atahualpa and never showed up at the top in any of the other Atahualpa versions I had installed before 3.6.4. It used to be hidden when set to off, and now it shows up regardless. My whole problem here is that something is broke, and the solution is either to fix the code or just delete my tagline. I tried the new header overlay image method, but with no luck. I have a logo in there now as a matter of fact, and its not showing.

The other weird thing that happens is that I have to have the option "Overlay Blog Title over header image" set to ON in order for my logo to show up the way its coded into bfa_header.php

Last edited by threedogmoon; Feb 16, 2011 at 03:57 PM.
  #9  
Old Feb 16, 2011, 06:36 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
It could be that the coding changed you put into bfa_header_config.php are causing the issue and making the header image overlay not to work. I just tried adding things there and they show up.

I also looked at the generated source on your page, and nothing shows in the code overlay area.

rename your version of bfa_header_config.php and upload a fresh copy and see what happens.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #10  
Old Feb 16, 2011, 07:00 PM
threedogmoon
 
28 posts · May 2010
NYC
Ok...I did it...This is what happens: http://www.pupsdaily.com

The tagline remains.

I can make the tagline text disappear by changing the option named - Overlay Blog TITLE over Header Image(s)? to "NO" -- which doesn't make sense.

When I change -- Overlay Blog TAGLINE over Header Image(s)? to "YES" the plain text you see there now disappears and blue text (pulling the style from my settings in Atahualpa) appears. When set to "No" the plain text returns.

I put the following code into the new overlay header image section, and it sort of messes things up like you see now on the site:

Code:
<div class="titleoverlay"><a href="http://www.pupsdaily.com"><img class="logo"
  src="http://www.pupsdaily.com/wp-content/themes/atahualpa/images/logo.png" 
alt="Helping Dogs find Homes" /></a>

Last edited by juggledad; Feb 16, 2011 at 07:03 PM.
  #11  
Old Feb 16, 2011, 07:11 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
1) you shouldn't use <div class="titleoverlay"> since that is already used. Use something like <div id="header_image_mylogooverlay">
2) you didn't include a </div> which will mess things up.
3) you need to add a css insert like #header_image_mylogooverlay {position: absolute; right:40px; top: 20px;} to position your overlay
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #12  
Old Feb 17, 2011, 08:04 PM
threedogmoon
 
28 posts · May 2010
NYC
Thank you for all the time. I followed all your advice, and everything is smooth now. Just sending in a donation now. Your help has been appreciated, as has been Atahualpa.

Thanks for a great theme and probably the most powerful one out there. In my opinion, it should become part of WP. The second site that I run on Atahualpa is here: BlackPawPhoto. I can say that it has helped me a lot with running my sites.

Take care.

Bookmarks

Tags
config, header, image, logo, tag line



Similar Threads
Thread Thread Starter Forum Replies Last Post
rotating header image not working after images/header folder delete cpickeri Header configuration & styling 7 Oct 12, 2011 06:03 AM
Rotating headers cover up overlaid tagline Stevesamps Header configuration & styling 2 Sep 13, 2010 01:20 AM
Thanks for JS header image rotating Colorblinded Header configuration & styling 2 May 12, 2010 02:42 PM
rotating image header- more than one? ortixia Header configuration & styling 1 Nov 26, 2009 07:24 PM


All times are GMT -6. The time now is 05:27 PM.


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