jimscheel
Forum Replies Created
Viewing 9 replies - 1 through 9 (of 9 total)
-
Forum: Themes and Templates
In reply to: Creating a template thas shows post from a specify categorygot it!!
<?php $wp_query = new wp_Query('cat=3&showposts='.$numposts.'&paged='.$paged); ?>
Once again thanks for the help!
Forum: Themes and Templates
In reply to: Creating a template thas shows post from a specify categoryhmmm it doesnt work
<?php get_header(); ?> <?php $numposts = get_option('posts_per_page'); ?> <?php $wp_query = new WP_Query('showposts=3'.$numposts.'&paged='.$paged); ?> <?php if($wp_query->have_posts()) : while($wp_query->have_posts()) : $wp_query->the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div class="post-header"> <div class="date"> <?php the_time('M j') ?> <span><?php the_time('y') ?></span></div> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <div class="author">by <?php the_author() ?></div> </div><!--end post header--> <div class="entry clear"> <?php the_content('read more...'); ?> <?php edit_post_link('Edit This','<p>','</p>'); ?> </div><!--end entry--> <div class="post-footer"> <div class="comments"><?php comments_popup_link('Leave a comment', '1 Comment', '% Comments'); ?></div> </div><!--end post footer--> </div><!--end post--> <?php endwhile; /* rewind or continue if all posts have been fetched */ ?> <div class="navigation index"> <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> </div><!--end navigation--> <?php else : ?> <?php endif; ?> </div><!--end content--> <?php get_sidebar(); ?> <?php get_footer(); ?>
Forum: Themes and Templates
In reply to: Creating a template thas shows post from a specify categoryThanks for the fast reply I will try it right away ??
Forum: Installing WordPress
In reply to: Bug?yeah i did that, but WP 2.0 has a bug. It puts x-marks into the code….?
Forum: Installing WordPress
In reply to: Bug?Anybody with some help here?
Forum: Installing WordPress
In reply to: Bug?The bannercode is for copy and paste purpose.
Forum: Plugins
In reply to: Image Headlines don’t workyes i did, I am still waiting for an answer, from them
Forum: Installing WordPress
In reply to: How to edit af themethanks!
Forum: Plugins
In reply to: image-header
Viewing 9 replies - 1 through 9 (of 9 total)