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
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.
  #7  
Old Sep 30, 2013, 08:23 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I would do an export then reset all the settings to see if it goes away. If it does, then it is something you did. You could then import the export and reset each theme page one at a time till you find the cause and fix it.
__________________
"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; Sep 30, 2013 at 08:32 AM.
  #8  
Old Sep 30, 2013, 03:59 PM
CrouchingBruin's Avatar
CrouchingBruin
 
299 posts · Aug 2010
Santa Monica, CA
You can also try deactivating all of your plugins to see if that clears the warning message. Perhaps one of your plugins is trying to scan your header.php file for the presence of the wp_head function? I don't know if that's even possible, but it shouldn't take that long to test.
__________________
My Montezuma-themed sites: ESHS Girls Basketball Team, Venice Hongwanji Buddhist Temple
Please consider making a donation to BytesForAll for their great themes!
  #9  
Old Sep 30, 2013, 04:50 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
FYI: wp_head() is in the physical file head.php
__________________
"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 lmilesw; Sep 30, 2013 at 06:07 PM.
  #10  
Old Sep 30, 2013, 09:29 PM
jerryc
 
367 posts · Oct 2012
Florida
Users not realizing that MZ has both head.php and header.php is something we've seen periodically on this forum.

Other terminology issues have shown up periodically. For example, as Juggledad has noted, the term "sidebar" is sometimes confusing to new users, because they can go anywhere in a template, not just on the sides, and thinking of them as "widget areas" is more in alignment with how they can be used.

So, do we need a sticky for these and maybe some other terminology issues?
  #11  
Old Oct 1, 2013, 07:01 AM
Kaori29
 
24 posts · Feb 2013
i deaktivated all my plugins and this message is cause by Acurax social media widget

so i have to search a new plugin for social media

Thanks for the help.

I have a few other questions, but i start new threads for them.

Last edited by lmilesw; Oct 1, 2013 at 12:15 PM.

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 05:20 PM.


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