Top

junkhed1 on "Issues with Category Styling"

June 1, 2010 by  

Hi thank you for the reply.. I’m a bit new to WP so forgive for not being up to date with all this. What exactly should I do with the pastebin file? do I just copy whats in the category template I created and paste that in? The error with the nesting is this something that I would be able to see viewing the source code here is the actual coding being used on the category page do you think you could spot what needs to be fixed? Thank you very much for your assistance.

<?php
/*
Template Name: The Making of Player Hating
*/
?>
<?php get_header(); ?>

   <style type="text/css">
	body {background-color:#fff;}
	#wrap {background-color:#fff;}
	</style>

         <div id="blog_main12">
         	<div id="blog12">

         <div class="blog-cat12">
        <?php global $query_string;
query_posts($query_string . "&order=ASC"); ?>

          <?php if(have_posts()) : while(have_posts()) : the_post(); ?>

                    <h2><?php the_title(); ?></h2>
                    <p class="meta">posted by <?php the_author(); ?> on <?php the_date(); ?></p>
                    <?php the_content('read more'); ?>
                    <br />
                    <div id="retweet">
          <?php if (function_exists('topsy_retweet_small')) echo topsy_retweet_small(); ?>
          </div><!--end retweetTW -->
                    <div id="shareFB">
       <a href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&t=<?php the_title(); ?>" target="blank">Share on Facebook</a>
</div><!--end shareFB div-->

     <div class="BlogComments">
             <a href="<?php comments_link(); ?>"><?php comments_number('0', '1', '%'); ?> Comment(s)</a>
             </div><!--end blogcomments-->

             </div><!--end blog post-->

     <?php endwhile; ?>

               <?php else : ?>
               <p>The information you are looking for is not available.</p>
               <?php endif; ?>
                 </div><!--end blog-->

         </div><!--End main-->
	<?php get_footer(); ?>
Share

Comments

Facebook comments:

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!





*
Bottom