Can’t get number of recent posts changed, even after reading all topics on it.
-
Hello,
I have read several posts about this topic, and can’t find where to change the number of recent posts showing up in my sidebar.
Am I supposed to do something with this line in the sidebar.php? I see it has a number 1, but it is 5 posts that are showing. I have posted my full sidebar.php below.
<?php wp_get_archives(‘type=monthly&show_post_count=1’); ?>In my left sidebar is says I am using 1 widget and I see the recent posts widget is there, when you click on it, it does nothing, there is not option to change anything. I also looked for widget.php to see if I could change something there, but I don’t see anything called widget.php? Can someone offer any help.
Thank you kindlyMy website is If it needs to be looked at to help with the soloution.
<div id=”sidebar” class=”sidebar”>
-
<?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(‘Right Sidebar’) ) : else : ?>
- <h3><?php _e(‘Pages’); ?></h3>
-
<?php wp_list_pages(‘title_li=’ ); ?>
-
<h3><?php _e(‘Search’); ?></h3>
<form id=”searchform” method=”get” action=”<?php bloginfo(‘siteurl’)?>/”>
<input type=”text” name=”s” id=”s” class=”textbox” value=”<?php echo wp_specialchars($s, 1); ?>” />
<input id=”btnSearch” type=”submit” name=”submit” value=”<?php _e(‘Go’); ?>” />
</form> - <h3><?php _e(‘Categories’); ?></h3>
-
<?php wp_list_categories(‘show_count=1&hierarchical=1&title_li=’); ?>
<?php endif; ?>
</div>
</div><?php //closing for #main?><div id=”leftside” class=”sidebar”>
-
<?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(‘Left Sidebar’) ) : else : ?>
-
<h3>
<?php _e(‘Monthly’); ?>
</h3>
-
<?php wp_get_archives(‘type=monthly&show_post_count=1’); ?>
<?php if (function_exists(‘wp_tag_cloud’)) { ?>
-
<h3>
<?php _e(‘Tags’); ?>
</h3>
<p>
<?php wp_tag_cloud(); ?>
</p> - <h3>Meta</h3>
<?php } ?>
<?php if(is_home()) {?>
<?php get_links_list(); ?>-
<?php wp_register(); ?>
- <?php wp_loginout(); ?>
- Valid <abbr title=”eXtensible HyperText Markup Language”>XHTML</abbr>
- <abbr title=”XHTML Friends Network”>XFN</abbr>
- WordPress
<?php wp_meta(); ?>
<?php }?>
<?php endif; ?></div>
<div style=”clear:both;”></div>
</div><?php //closing for #outer?>
<div style=”clear:both;”></div>
- The topic ‘Can’t get number of recent posts changed, even after reading all topics on it.’ is closed to new replies.