Today I was editing a post and going back & forth between the user side and the admin, and suddenly I noticed that most of my page links are no longer displaying in the sidebar. My theme is Ahimsa. This is the code I'm using:
<fieldset class='sidebarlist'>
<legend><?php print $sectprefix; ?>Pages</legend>
<ul>
<li><a href="<?php echo get_option('home'); ?>/">Home</a></li>
<?php wp_list_pages('title_li=&hierarchical=0'); ?>
</ul>
</fieldset>
Only the Home link displays. I've checked the pages in the editor and they're still there and marked public and published, etc. and I can see them if I click Preview. The really strange thing is that I have a client using the same theme and I put exactly the same code into her sidebar, and hers is displaying just fine.
Any ideas?
Database corruption maybe? Is there a check/repair tool?
Thanks