Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   [SOLVED] Having problems with rotating header image and tagline in upgrade from 3.5.3 (http://forum.bytesforall.com/showthread.php?t=12818)

threedogmoon Feb 15, 2011 02:52 PM

[SOLVED] Having problems with rotating header image and tagline in upgrade from 3.5.3
 
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!

juggledad Feb 15, 2011 05:11 PM

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>   

threedogmoon Feb 15, 2011 05:22 PM

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?

juggledad Feb 15, 2011 06:02 PM

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.)

threedogmoon Feb 15, 2011 06:08 PM

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.

threedogmoon Feb 16, 2011 11:37 AM

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.

juggledad Feb 16, 2011 01:59 PM

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?

threedogmoon Feb 16, 2011 02:48 PM

Quote:

Originally Posted by juggledad (Post 58169)
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

juggledad Feb 16, 2011 05:36 PM

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.

threedogmoon Feb 16, 2011 06:00 PM

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>


juggledad Feb 16, 2011 06:11 PM

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

threedogmoon Feb 17, 2011 07:04 PM

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.


All times are GMT -6. The time now is 01:45 PM.

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