Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter hartwoodsca

    (@hartwoodsca)

    I FIXED IT!!! YEAH!

    In the home.php file, there was a line that said <div <php> id=”post-<?php the_ID(); ?>”> It looked different, so I tried changing it to
    <div <?php post_class() ?> id=”post-<?php the_ID(); ?>”> and it WORKED!

    Thank you everyone for your help – I wouldn’t have figured out to look for a closed tag if it hadn’t been for you guys ??

    Happy dance!

    Thread Starter hartwoodsca

    (@hartwoodsca)

    There’s no change to the blog. One thing I noticed is that the blog entries page remained the same whether I had it on the main page or under a blog page.

    I tried this on the Main Index Template, Page Template and Single Post and it didn’t do anything to the blog, but screwed up the other pages. It’s strange because you would think it would have done *something* to the blog. Very strange!

    I really appreciate all the help I’m getting on this!

    Thread Starter hartwoodsca

    (@hartwoodsca)

    There’s a div id in there, but it looks the same on every page and changing it did nothing except… uh, bad things. ??

    Thread Starter hartwoodsca

    (@hartwoodsca)

    Thank you for your help!

    Thread Starter hartwoodsca

    (@hartwoodsca)

    <?php get_header(); ?>
    <div id="pbody">
    	<div id="content">
    
    <?php if (have_posts()) : ?>
    		<?php while (have_posts()) : the_post(); ?>
    			<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    				<div class="ptitle"><h2>
    <a>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2></div>
    				<div class="entry">
    					<?php the_content('Read the rest of this entry &raquo;'); ?>
    				</div>
    				<p class="postmetadata"> <?php the_time('j M Y') ?><?php the_tags('Tags: ', ', ', ''); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
    			</div>
    		<?php endwhile; ?>
    		<div class="navigation">
    
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
    			else { ?>
    
    			<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    			<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    				<?php } ?>
    
    		</div>
    	<?php else : ?>
    	    <?php include(TEMPLATEPATH."/404.php");?>
          	<?php endif; ?>
    </div>
    <div id="sidebar">
    <?php include(TEMPLATEPATH."/sidebar_l.php");?>
    	</div>
    </div>
    <?php get_footer(); ?>
Viewing 5 replies - 1 through 5 (of 5 total)