Support » How-To and Troubleshooting » [Resolved] Pages in Topics List

[Resolved] Pages in Topics List

  • When I add a new page (manage -> pages) it shows up in my list of pages in my left column, and also in my list of the 10 most recent posts on the right column. Is this supposed to happen in WordPress? Maybe I am misunderstanding what Pages are. Here’s my right column code where I do not want the pages to show up:

    <h1><?php _e("Recent Posts"); ?></h1>
    foreach ($recentposts as $post) {
    if ($post->post_title == '')
    $post->post_title = sprintf(__('Post #%s'), $post->ID);
    echo "
    echo '</a></li>
    <?php endif; ?>
    	<?php endif; ?>		
    <div class="subnav">
    <?php if ( !function_exists('dynamic_sidebar')
            || !dynamic_sidebar(1) ) : ?>
    		<?php if (function_exists('wp_theme_switcher')) { ?>
    <?php wp_theme_switcher('dropdown'); ?>
    <?php } ?>
    		<h1><?php _e('Archives');?></h1>
    <?php wp_get_archives('type=monthly'); ?>
    <?php endif; ?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Pages in Topics List’ is closed to new replies.
Skip to toolbar