junkhed1 on "Issues with Category Styling"
June 1, 2010 by David Olsen
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(); ?>
Related posts:
- s7orm on "Thumbnails wont show up in a category?" <?php get_header(); ?> <?php $blog_cat = html_entity_decode(get_option('T_blog_cat')); $blog_ID = get_cat_ID($blog_cat);...
- eighteesix on "issue with older entries" Hope somebody can tell me what is wrong here. This...
- Working-Together on "Recent post pull code doesn’t bring formatting…" Hi, I am using the below code to pull the...
- SidianMSJones on "[Plugin: FaceBook Like Button Plugin for WordPress] Manual insert to theme" Hey this is doing exactly what I need! Awesome. I...
- ambrosite on "Sidebar Post Archive By Month for Single Category" OK, here it is. This is a bit tricky, but...
Related posts brought to you by Yet Another Related Posts Plugin.






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!