wstewart1
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Author Comment HighlightHi Mr. Kryptic! The answer can be found at blog.deconcept.com.
Forum: Fixing WordPress
In reply to: If category is 19 then…As follow up, this is the code I settled with:
<?php if(in_category('21')){ ?>article has a podcast<?php }?>
Forum: Fixing WordPress
In reply to: If category is 19 then…Thanks Phunky! I owe you one.
Forum: Fixing WordPress
In reply to: Not showing single post contentNo, you have guessed correctly. With your and Beel’s help I have solved it! Thanks so much for your assistance!
Forum: Fixing WordPress
In reply to: Not showing single post contentThanks for your help and patience…I’m beginning to understand! ?? The problem lies in the script that is in
header.php
(I’ve removed it for now off the site):<?php query_posts('cat=-18&showposts=3') ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<a href="<?php the_permalink(); ?>"><strong>(<?php the_time('M. d'); ?>)</strong> <?php the_title(); ?></a>
<?php endwhile; else: ?>
Sorry, no posts matched your criteria.
<?php endif; ?>Now to figure what is wrong…
Forum: Fixing WordPress
In reply to: Not showing single post contentThanks Moshu for taking the time to help. While this will help the index page, my problem is single.php does not show the correct content. While the
<title>
tag is correct, it does not show the right entry in the post. As far as I can tell, it is always offset by 3 — which is really weird.Forum: Fixing WordPress
In reply to: Not showing single post contentThank you both for your help. I have discovered if I remove:
<?php query_posts('cat=-18&showposts=1') ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>and
<?php endwhile; else: ?>
Sorry, no posts matched your criteria.<?php endif; ?>
It actually shows something! But, it shows the entry “Democrat food sales tax ‘solution’ creates trouble” regardless of the page you are on. Any ideas?
Update: I added a new entry and discovered that it is showing the content of the third entry in the single post page regardless of the page I am on.
Forum: Fixing WordPress
In reply to: Exclude category AND limit posts?Thanks for the quick reply! I’ll try that and see what happens.