I have a 4 column theme. I’m trying to display posts of a particular category in one of my sidebars on the right side. I have searched this forum trying to find someone who asked this question previously. I found on the sort of addressed my problem and put this code in my sidebar:
<?php query_posts(‘cat=5&showposts=3’); ?>
<?php if (have_posts() : while (the_post()) : the_post(); ?>
<?php the_title(); ?>
<?php the_content(); ?>
<?php endwhile; else : endif; ?>
Hey thanks for the help! I installed a plugin called Miniposts. I got it activated and its showing up under my widgets, but when I try to change the formatting under the Options tab, it goes to a missing page option: mysite.com/wp-admin/miniposts2.php is not found.
When I tried to upload the plugin under my admin folder in addition to having it installed in my wp-contents folder, I got an error message.
Not sure what else to do, the plugin author said something about not having the IIRC plugin installed, but I can’t find that plugin anywhere. Any suggestions?
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘[Resolved] Putting posts in the sidebar’ is closed to new replies.