Activity Stream
48,167 MEMBERS
6827 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 5 of 5

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Member
    Website's:
    Naked-sluts.us

    Default Wordpress Header not loading

    Hi, the wordpress header on my site is not loading. It used to work but after some problems with vps its not.

    Here is my code from the header:
    Code: 
    <?php global $zbench_options; ?>
    <div id="wrapper"<?php if($zbench_options['left_sidebar']==TRUE) echo ' class="LorR"'; ?>>
    <div id="header"><?php $logo=''; if($zbench_options['logo_url']!='') $logo=' class="header_logo" style="background:url('.$zbench_options['logo_url'].') no-repeat 0 0"'; ?>
    <h1<?php if($zbench_options['hide_title']!='') echo ' class="hidden"'; ?>><a href="<?php echo home_url('/'); ?>"<?php if($logo) echo $logo; ?>><?php bloginfo('name'); ?></a></h1>
    		<h2<?php if($logo || $zbench_options['hide_title']!='') echo ' class="hidden"'; ?>><?php bloginfo('description');?></h2>
    		<div class="clear"></div>
    		<?php if ( get_header_image() != '' ) : ?>
    		<div id="header_image">
    			<div id="header_image_border">
    				<a href="<?php if($zbench_options['header_image_url']!='') { echo $zbench_options['header_image_url']; } else { echo home_url('/'); } ?>"><img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" /></a>
    			</div>
    		</div>
    		<?php endif; ?>
    	</div>
    Here is a screen from WP admin panel:



    Thank you for any advice..
    weena Reviewed by weena on . Wordpress Header not loading Hi, the wordpress header on my site is not loading. It used to work but after some problems with vps its not. Here is my code from the header: <?php global $zbench_options; ?> <div id="wrapper"<?php if($zbench_options==TRUE) echo ' class="LorR"'; ?>> <div id="header"><?php $logo=''; if($zbench_options!='') $logo=' class="header_logo" style="background:url('.$zbench_options.') no-repeat 0 0"'; ?> <h1<?php if($zbench_options!='') echo ' class="hidden"'; ?>><a href="<?php echo Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Probably there's a problem in your functions.php. Since you're using an admin panel for your theme is hard to know what is going on without testing.

    The best, and the easiest solution for now is:
    Code: 
    <?php global $zbench_options; ?>
    <div id="wrapper"<?php if($zbench_options['left_sidebar']==TRUE) echo ' class="LorR"'; ?>>
    <div id="header"><?php $logo=''; if($zbench_options['logo_url']!='') $logo=' class="header_logo" style="background:url('.$zbench_options['logo_url'].') no-repeat 0 0"'; ?>
    <h1<?php if($zbench_options['hide_title']!='') echo ' class="hidden"'; ?>><a href="<?php echo home_url('/'); ?>"<?php if($logo) echo $logo; ?>><?php bloginfo('name'); ?></a></h1>
            <h2<?php if($logo || $zbench_options['hide_title']!='') echo ' class="hidden"'; ?>><?php bloginfo('description');?></h2>
            <div class="clear"></div>
            <?php if ( get_header_image() != '' ) : ?>
            <div id="header_image">
                <div id="header_image_border">
                    <a href="<?php bloginfo('url');?>"><img src="THE URL OF THE HEADER IMAGE" width="XXX" height="XXX" alt="" /></a>
                </div>
            </div>
            <?php endif; ?>
        </div>
    See the changes in green text. Remember to change the informations marked with "XXX".

  4.     
    #3
    Member
    Website's:
    Naked-sluts.us
    I tried to change the code according to you and there was loading a white page. Thats not the right solution :-) But anyways thanks. And thats not my functions.php, but header..

  5.     
    #4
    Member
    how do you mean not loading? you get other parts of the page loaded?
    it probably has nothing to do with header code, see what the latest plugin you installed, it might cause issues

  6.     
    #5
    Member
    Website's:
    Naked-sluts.us
    I filled the header image link and its not showing on the page, thats what i mean. And I dont know why, whats the issue. I havent change anything...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help errors when loading some plugins wordpress
    By ctoveloz in forum Wordpress
    Replies: 6
    Last Post: 18th Jan 2012, 05:05 AM
  2. Wordpress Dashboard Loading Slow
    By Hillside in forum Wordpress
    Replies: 3
    Last Post: 4th Nov 2011, 06:07 PM
  3. Wordpress blog is not loading. Please help
    By happyvalentine in forum Technical Help Desk Support
    Replies: 10
    Last Post: 12th Sep 2011, 03:56 PM
  4. Wordpress - Wp-Admin Not Loading!
    By desibreaker in forum Webmaster Discussion
    Replies: 12
    Last Post: 25th Aug 2011, 06:54 AM
  5. Wordpress Help - Post update and loading slow
    By kiddo in forum Webmaster Discussion
    Replies: 3
    Last Post: 23rd Feb 2011, 06:24 PM

Tags for this Thread

BE SOCIAL