StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-25-2009, 12:42 PM
alysiaminor alysiaminor is offline
Registered User
Pro Plus Member
 
Join Date: Nov 2008
Location: Texas
Posts: 49
Default Header is visible on some post and disapears in others

I'm guessing this is a php issue--but it's over my head. I have a flash header on my site which works fine on the home page and category pages--but when I go to the individual post page, no dice. See:

header on category page: http://homemakercentral.com/category/blog/
should be the same on individual post, but it disappears: http://homemakercentral.com/2009/03/...-shabby-apple/


Here's my code for index.php:

Code:
<?php get_header(); ?>

<div id="content">

	<div id="contentleft">
	
		<div class="postarea">
		
		<?php include(TEMPLATEPATH."/breadcrumb.php");?>
			
			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
			<h1><?php the_title(); ?></h1>
			
			<div class="date">
			
				<div class="dateleft">
					

<span class="time"><?php the_time('F j, Y'); ?></span> by <?php the_author_posts_link(); ?> <?php edit_post_link('(Edit)', '', ''); ?> 
 Filed under <?php the_category(', ') ?></p> 
				</div>
				
				<div class="dateright">
					

<span class="icomment"><?php comments_number('Leave a Comment', '1 Comment', '% Comments'); ?></span></p> 
				</div>
				
			</div>
			
			<div style="clear:both;"></div>

			<?php the_content(__('Read more'));?><div style="clear:both;"></div>
			
			<div class="postmeta">
				

<span class="tags">Tags: <?php the_tags('') ?></span></p>
			</div>
		 			
			<!--
			<?php trackback_rdf(); ?>
			-->
			
			<?php endwhile; else: ?>
			
			

<?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>
			
		</div>
		
		<div class="adsense-post">
		
			
			
			<?php $adsense_468 = get_option('revchurch_adsense_468'); echo stripslashes($adsense_468); ?>
						
		</div>
			
		<div class="comments">
	
			<?php comments_template('',true); ?>
			
		</div>
		
	</div>
	
<?php include(TEMPLATEPATH."/sidebar.php");?>
		
</div>



<?php get_footer(); ?>
and my style.css for the header part:
Code:
#header {
	background: #000000 ;
	width: 960px;
	height: 300px;
	color: #FFFFFF;
	font-size: 11px;
	margin: 0px;
	padding: 0px;
	overflow: hidden;
	}
And lastly, the page.php code:
Code:
<?php get_header(); ?>

<div id="content">

	<div id="contentleft">
	
		<div class="postarea">
	
		<?php include(TEMPLATEPATH."/breadcrumb.php");?>
			
			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
			<h1><?php the_title(); ?></h1>

		
			<?php the_content(__('Read more'));?><div style="clear:both;"></div>
			<?php endwhile; else: ?>
			
			

<?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>
		
		</div>
		
	</div>
	
<?php include(TEMPLATEPATH."/sidebar.php");?>
		
</div>



<?php get_footer(); ?>
Thanks in advance for any advice!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MORE Text and Content visible in Post Feeds ?! cinema General Discussion 5 12-31-2009 01:29 AM
page/post text disapears rayman General Discussion 4 10-29-2009 09:17 PM


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

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.