![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#2
|
|||
|
|||
|
Not sure what you are asking with your second question, but to pull specific post titles for specific categories within the sidebar you would use the code below, changing the category name for every category:
Code:
<div class="block">
<h3>Sample Category:</h3>
<?php query_posts('category_name=sample-category&showposts=5'); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<ul>
"">Read More[/list] <?php endwhile; else: ?>
<?php endif; ?>
</div>
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Modifying "Search" Sidebar Widget | mkellam2 | General Discussion | 6 | 06-21-2010 09:07 PM |
| Modifying sidebar in blog | Alscott | General Discussion | 2 | 01-11-2010 04:02 PM |
| Modifying sidebar | mzaurrini | General Discussion | 1 | 02-03-2009 09:12 AM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us