maning84
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Fixing WordPress
In reply to: Displaying widgets on seleted pages.here’s my second attemp, but still no luck.
<?php
wp_reset_query();
if (is_page(array(7,8)) ) {
<?php query_posts(‘category_name=Blog &showposts=2’); ?>
<?php while (have_posts()) : the_post(); ?>
<ul class=”post_cont” id=”post-<?php the_ID(); ?>”>-
<h5>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”>
<?php the_title(); ?>
</h5>
<?php endwhile; ?>
}
?>Forum: Fixing WordPress
In reply to: Displaying Sub Categories and their description on a template page.tnx man! that did the job, but how do I put some images on the side or maybe at the top?…I this possible?
cheers!
Forum: Fixing WordPress
In reply to: Different Thumbnail size for different categories.thanks for the idea, but how will I integrate that to my code…sorry im a total noob with this. Here’s my code:
<?php query_posts(‘cat=13&showposts=20’); ?>
<?php while (have_posts()) : the_post(); ?>
<ul class=”post_cont” id=”post-<?php the_ID(); ?>”>-
<h3>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”>
<?php the_title(); ?>
</h3>
<!–<p>
<?php the_time(‘F jS, Y’) ?>
by <?php the_author() ?>
</p>–>
<?php the_excerpt() ?>
<p>
<!–<?php the_tags(‘Tags: ‘, ‘, ‘, ‘
‘); ?>
Posted in
<?php the_category(‘, ‘) ?>
|
<?php edit_post_link(‘Edit’, ”, ‘ | ‘); ?>–>
<?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?>
</p>
<?php endwhile; ?>
Thanks for your help, appreciate it.
-
<h5>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”>
Viewing 3 replies - 1 through 3 (of 3 total)