Dratarific
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Fixing WordPress
In reply to: Need Help With Spacing In Custom Monthly Archive QueryThanks for your input, wpfan100 :o)
I kept tinkering around and came up with what I wanted. In case anyone is looking for a monthly archive like this, here’s the code:
<?php $the_date = ''; query_posts(array( 'post_type' => 'post', 'posts_per_page' => -1, 'post_status' => 'publish' )); if (have_posts()) : while (have_posts()) : the_post(); if (get_the_date('F Y') != $the_date) { if ($the_date) { ?> </div> <?php } ?> <div class="spacedown"> <div class="title"><?php the_date ('F Y'); ?></div> <?php $the_date = get_the_date('F Y'); } ?> <strong><small><?php the_time('j') ?> -</small></strong> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a><br/> <?php endwhile; ?> </div> <?php endif; wp_reset_query(); ?>Forum: Fixing WordPress
In reply to: Display only Post title and excerpt on category pageYou’d put it in the sidebar.php, wherever you want it to appear.
Forum: Fixing WordPress
In reply to: Display only Post title and excerpt on category page<?php wp_list_categories(‘orderby=name&style=none&show_count=1’); ?>
Click here for more info. It tells you all the stuff you can do :o)
Forum: Fixing WordPress
In reply to: Instagram widget – free wordpressHello :o)
If you have an account at wordpress.com, you need to use the forums there. ww.wp.xz.cn is for people who host WP themselves.
Viewing 4 replies - 1 through 4 (of 4 total)