Roy
(@gangleri)
The number of recent posts is probably a setting in the recent post widget (see appearance->widgets).
In the index.php of the theme (and if you want also in the single.php, archive.php, search.php, etc.), you have to remove the calls for comments, trackback, author and everything you want to get rid off.
Thank you for your reply with your help which I greatly appreciate I have been able to change everything except the number of recent post for some reason. The html in the side bar folder is
<div class=”span-5″>
<div class=”sidebar sidebar-left”>
<?php
if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Left Sidebar’) ) : ?>
<?php wp_list_categories(‘hide_empty=1&show_count=0&depth=1&title_li=<h2>Categories</h2>’); ?>
- <h2><?php _e(‘Recent Posts’);?></h2>
<?php wp_get_archives(‘type=postbypost&limit=5’); ?>
<?php include (TEMPLATEPATH . ‘/recent-comments.php’); ?>
<?php if (function_exists(‘get_recent_comments’)) { get_recent_comments(); } ?>
<?php endif; ?>
<?php if(get_theme_option(‘ad_sidebar1_bottom’) != ”) {
?>
<div class=”sidebaradbox”>
<?php echo get_theme_option(‘ad_sidebar1_bottom’); ?>
</div>
<?php
}
?>
</div>
</div>
I have changed the 5 above to 25 but nothing happens.
I also somehow seam to have created a problem with both my Home Pages
They show the same the first article The Importance of Caring for Your Skin but instead of only showing one post they show 8.
If I dont show all of these the full list does not show up under catagories like I wanted Perhaps you can tell me what I have done wrong to get this
Kindest Regards
Roy
(@gangleri)
When you use the recent posts widget you don’t have to edit any code (in fact, the widget overrides the code that you try to edit), just go to ‘appearance’ and then ‘widgets’, dropdown the recent post widget and set the number to the desired number.
Thanks so much for your help have it sorted out now.
Have a nice Weekend
Sorry I am back again Thought following the instructions I would find it simple to add google adds to the right had side bar but have come unstuck.. Perhaps it is something newbies should not attempt.
Right Side Bar html has Tags, Archives,Calander, Links and Meta which I would like to replace with one 120 x 600 Google Adds and under a banner from one of the companies I deal with.
Is this at all possible
Present Html:–
<div class=”span-5 last”>
<div class=”sidebar sidebar-right”>
<div class=”sidebaradbox”>
<?php sidebar_ads_125(); ?>
</div>
<?php
if(get_theme_option(‘rssbox’) == ‘true’) {
?>
<div class=”rssbox”>
“><img src=”<?php bloginfo(‘template_url’); ?>/images/rss.png” alt=”RSS Feed” title=”RSS Feed” style=”vertical-align:middle; margin-right: 5px;” />“><?php echo get_theme_option(‘rssboxtext’); ?>
</div>
<?php
}
?>
<?php
if(get_theme_option(‘twitter’) != ”) {
?>
<div class=”twitterbox”>
“><img src=”<?php bloginfo(‘template_url’); ?>/images/twitter.png” alt=”<?php echo get_theme_option(‘twittertext’); ?>” title=”<?php echo get_theme_option(‘twittertext’); ?>” style=”vertical-align:middle; margin-right: 5px;” />“><?php echo get_theme_option(‘twittertext’); ?>
</div>
<?php
}
?>
<?php wp_get_archives(‘type=monthly’); ?>
<?php endif; ?>
<?php if(get_theme_option(‘ad_sidebar2_bottom’) != ”) {
?>
<div class=”sidebaradbox”>
<?php echo get_theme_option(‘ad_sidebar2_bottom’); ?>
</div>
<?php
}
?>
</div>
</div>
Thank you for your time
RESOLVED thanks for your Help