clockworkjoe
Forum Replies Created
-
Found a lintk to weblog tools collection that helped. However, two problems
1. The prev and more links are reversed.
2. The sidebar is totally messed up.
<?php
$temp = $wp_query;
$wp_query= null;
$wp_query = new WP_Query();
$wp_query->query(‘cat=6&showposts=3′.’&paged=’.$paged);
?><?php while ($wp_query->have_posts()) : $wp_query->the_post(); ?>
<ul class=”pmeta”>- Posted by <?php the_author() ?>
- On <?php the_time(‘F j, Y’) ?>
- <?php the_category(‘, ‘) ?>
- Tags ‘, ‘
- <?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’ );?>
- ‘, ‘
<?php if (function_exists(‘the_tags’)) { the_tags(‘
‘); } ?>
<?php edit_post_link(‘Edit’, ‘
‘); ?>
<div class=”apost”>
<h2 id=”post-<?php the_ID(); ?>”>
<?php if (function_exists(‘get_cat_icon’)) get_cat_icon(‘small=false’); ?>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>
<div class=”pmain”>
<!– spost –><?php the_content(‘Read more…’); ?>
<!– epost –>
</div>
<?php if ($count==1) { ?><!– PLACE YOUR 468×60 ADSENSE CODE (OR BANNER) BELOW –>
<script type=”text/javascript”><!–/* 468×60, created 4/26/08 */
google_ad_width = 468;
google_ad_height = 60;
//–>
</script>
<script type=”text/javascript”
src=”https://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
<!– PLACE YOUR 468×60 ADSENSE CODE (OR BANNER) ABOVE –>
<?php } ?>
<?php $count = $count + 1; ?>
</div>
<div class=”extra”></div>
<?php endwhile; ?>
<div class=”lead”>
<span class=”ppre”><?php previous_posts_link(‘« Previous’) ?></span>
<span class=”pnex”><?php next_posts_link(‘More »’) ?></div>
</span></div>
<?php $wp_query = null; $wp_query = $temp;?>Forum: Fixing WordPress
In reply to: can i use php when writing a post or page?Then for the particular page, select that template in the Page Template drop-down box.
I have no idea where that is. I don’t see it anywhere.
Forum: Fixing WordPress
In reply to: can i use php when writing a post or page?Actually, is there any way to take my current page: site.com/blog and apply site.com/category/blog to it?
Forum: Fixing WordPress
In reply to: can i use php when writing a post or page?How do you apply a template to a specific page? I don’t see any drop down menus.
Forum: Fixing WordPress
In reply to: Secondary blog under main wordpress installationOne last question: how will the RSS feeds be handled? I know you can get RSS feeds for specific categories but can you generate a feed for the blog and main video site?
Forum: Fixing WordPress
In reply to: Secondary blog under main wordpress installationOne question. Both the video and blog category will have categories under them.
Video
Video A
Video B
Video CBlog
Blog A
Blog B
Blog Cetc.
If I just use the parent video and blog tags for this looping stuff, will it take the child categories as well?
Forum: Fixing WordPress
In reply to: Secondary blog under main wordpress installationCare to elaorate? How do i set up a page that only lists one category or keep the main index from listing the daily blog posts?