Hello fellow wordpress users, I hope somebody can help me a small problem I am having with formatting on a page.
Basically I created to display all of the posts in a certain category and I have done this successfully. However the problem is that I cannot figure out how to format the posts on the page like the home page.
The following is the code from the category page...
<?php /** *Template Name: PageOfPosts */ ?> <?php get_header(); ?> <?php get_sidebar(); ?> <?php $page_query = new WP_Query('post_type=post&cat=3'); ?> <?php while ($page_query->have_posts()) : $page_query->the_post(); ?> <a>" rel="bookmark"><?php the_title(); ?></a> <?php the_content('Read the rest of this entry »'); ?> <?php endwhile; ?> <?php get_footer(); ?>
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]
My coding/html knowledge is pretty limited so it's probably something pretty simple and easy.
Thanks in advance for your help!