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 » Montezuma Theme »

[SOLVED] Problem with Header.php


  #1  
Old Sep 28, 2013, 12:12 PM
Kaori29
 
24 posts · Feb 2013
[SOLVED] Problem with Header.php

Hello,

i have a problem with this Theme.
In my Dashboard is shown:



How can i fix it?

I found the header sub template... but where to put it in?

Please help me
  #2  
Old Sep 28, 2013, 01:34 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What did you do before this showed up?
__________________
"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 28, 2013, 01:57 PM
Kaori29
 
24 posts · Feb 2013
It shows up after i edited the header subtemplate.

This is my header subtemplate:

Code:
<div id="banner-bg" class="cf">
	<div id="banner" class="row">
	
		<div id="sidetitle" class="col7">
			<<?php bfa_if_front_else( 'h1', 'h3' ); ?> id="sitetitle">
				<a href="<?php echo home_url(); ?>"><?php bloginfo( 'name' ); ?></a>
			<<?php bfa_if_front_else( 'h1', 'h3' ); ?>>
			<p id="tagline"><?php bloginfo( 'description' ); ?></p>
		</div>
              
              
              <div id="logo" class="col5">
		  <a href="<?php echo home_url(); ?>">
              <img src="http:///www.lovelystamps.de/wp-content/uploads/2013/03/logoblack-e1362827389929.jpg">
          </a>
   </div>
          </div>
<p> </p>
     
 <div class="cf">
	<div id="menu" class="row">
      <?php wp_nav_menu( array( 
			'container' => 'nav', 
			'container_class' => 'menu-wrapper col12', 
			'container_id' => 'menu1-wrapper', 
			'menu_id' => 'menu1', 
			'menu_class' => 'cf menu', 
			'theme_location' => 'menu1', 
			'fallback_cb' => 'bfa_page_menu' 
		) ); ?>
	</div>
</div>

<a href="<?php bloginfo( 'rss2_url' ); ?>" class="rsslink" title="<?php _e( 'Subscribe to RSS Feed', 'montezuma' ); ?>"></a>
		
<div id="breadcrumbs1-bg">
	<nav id="breadcrumbs1" class="breadcrumbs lw">
		<?php bfa_breadcrumbs( 'breadcrumbs1' ); ?>
	</nav>
</div>
And this is my header.php:

Code:
<?php
	
global $montezuma;

echo bfa_parse_php( $montezuma['subtemplate-header'] );
But where did i have to put the "<?php wp_head(); ?>" so the message disapper?

Info: i'm still using Version 1.1.3 from Montezuma, because i'm afraid that my personal changes like fonts, colors etc will disapear

Last edited by Kaori29; Sep 28, 2013 at 02:00 PM.
  #4  
Old Sep 28, 2013, 11:35 PM
CrouchingBruin's Avatar
CrouchingBruin
 
299 posts · Aug 2010
Santa Monica, CA
You have an unclosed DIV in your header.php subtemplate. You added an opening DIV tag with a class of cf, but that DIV takes the closing DIV that belonged to the opening banner-bg DIV. Was there a reason why you added that opening cf DIV in there? Try taking it out and see if you still have the error. Or else add a closing DIV for banner-bg.
__________________
My Montezuma-themed sites: ESHS Girls Basketball Team, Venice Hongwanji Buddhist Temple
Please consider making a donation to BytesForAll for their great themes!
  #5  
Old Sep 29, 2013, 12:17 AM
CrouchingBruin's Avatar
CrouchingBruin
 
299 posts · Aug 2010
Santa Monica, CA
Never mind, that doesn't seem to be the problem. When do you see the warning message, when you try to install a particular plugin? Or on the Dashboard main page? I took a look at your site and it seems to be working properly.
__________________
My Montezuma-themed sites: ESHS Girls Basketball Team, Venice Hongwanji Buddhist Temple
Please consider making a donation to BytesForAll for their great themes!

Last edited by CrouchingBruin; Sep 29, 2013 at 12:20 AM.
  #6  
Old Sep 30, 2013, 06:58 AM
Kaori29
 
24 posts · Feb 2013
It is shown on the dashboard mainpage... all the time...

Edit: i add a closing DIV for banner-bg

But it just changed the color of the "DIV" in the editor from red to green.

But the message is still shown on the dashboard

Last edited by Kaori29; Sep 30, 2013 at 07:07 AM.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem rotating & fading header images and overlay header image SiaRa Header configuration & styling 9 Aug 7, 2012 12:37 PM
Two Part Header Problem windy Header configuration & styling 3 Jul 23, 2012 06:02 PM
[SOLVED] Header Problem v3.5.3 MtnBiker Header configuration & styling 4 Nov 21, 2010 09:51 PM
Header Problem eugebae Header configuration & styling 1 Aug 13, 2009 12:08 PM
weird problem with the header wonderllama Header configuration & styling 15 Apr 28, 2009 07:41 PM


All times are GMT -6. The time now is 03:41 AM.


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