Thank you for your response. For whatever reason, it’s still not working….here is my code:
// define the columns to display, the syntax is ‘internal name’ => ‘display name’
$posts_columns = array(
‘id’ => __(‘ID’),
‘date’ => __(‘When’),
‘title’ => __(‘Title’),
‘categories’ => __(‘Categories’),
‘comments’ => __(‘Comments’),
‘photos’ => __(‘Photos’),
‘author’ => __(‘Author’)
);
$posts_columns = apply_filters(‘manage_posts_columns’, $posts_columns);
// you can not edit these at the moment
$posts_columns[‘control_view’] = ”;
$posts_columns[‘control_edit’] = ”;
$posts_columns[‘control_delete’] = ”;
?>
<table width=”100%” cellpadding=”3″ cellspacing=”3″>
<tr>
<?php foreach($posts_columns as $column_display_name) { ?>
<th scope=”col”><?php echo $column_display_name; ?></th>
<?php } ?>
</tr>
<?php
$what_to_show = ‘posts’;
if ( empty($_GET[‘m’]) || 0 == $_GET[‘m’] && empty($_GET[‘s’]) ) {
$showposts = 15;
} else {
$nopaging = true;
}
include(ABSPATH.’wp-blog-header.php’);
if ($posts) {
$bgcolor = ”;
foreach ($posts as $post) { start_wp();
$class = (‘alternate’ == $class) ? ” : ‘alternate’;
?>
<tr class='<?php echo $class; ?>’>
<?php
foreach($posts_columns as $column_name=>$column_display_name) {
switch($column_name) {
case ‘id’:
?>
<th scope=”row”><?php echo $id ?></th>
<?php
break;
case ‘date’:
?>
<td><?php the_time(‘Y-m-d \<\b\r \/\> g:i:s a’); ?></td>
<?php
break;
case ‘title’:
?>
<td><?php the_title() ?>
<?php if (‘private’ == $post->post_status) _e(‘ – Private‘); ?></td>
<?php
break;
case ‘categories’:
?>
<td><?php the_category(‘,’); ?></td>
<?php
break;
case ‘comments’:
?>
<td>&c=1″>
<?php comments_number(__(‘0’), __(‘1’), __(‘%’)) ?>
</td>
<?php
break;
case ‘author’:
?>
<td><?php the_author() ?></td>
<?php
break;
case ‘photos’:
?>
<td><?php wpphotos_link(); ?></td>
<?php
break;
case ‘control_view’:
?>
<td>” rel=”permalink” class=”edit”><?php _e(‘View’); ?></td>
<?php
break;
My screen looks like this now:
https://www.bmgwebdesign.com/images/screenshotBlog.jpg
The code looks good, so I can’t figure out what it is. Please let me know if you can think of anything. TIA.