*** Deprecated - no longer necessary as of WP 2.7 ***
This feature does not need preservation as of Wordpress 2.7 because the dashboard widgets now serve the function that these links were serving. From WP 2.6 - WP 2.7 the dashboard underwent an overhaul that rendered it much more central and useful.
In the /wp-admin/edit.php file there is one one chunk of custom code that must be preserved. It is the code that generates the "This Issue" "Next Issue" and "Ready Anytime" links in the admin edit page. It looks like this...
<?php if ($_GET['post_status'] == 'pending' && $_GET['cat'] == 243) { ?>
<li>|<a class="current" href="edit.php?post_status=pending&cat=243">This Issue (<?php echo count(get_posts( "numberposts=-1&post_status=pending&category=243" )); ?>)</a></li><?php } else { ?>
<li>|<a href="edit.php?post_status=pending&cat=243">This Issue (<?php echo count(get_posts( "numberposts=-1&post_status=pending&category=243" )); ?>)</a></li>
<?php } if ($_GET['post_status'] == 'pending' && $_GET['cat'] == 245) { ?>
<li>|<a class="current" href="edit.php?post_status=pending&cat=245">Next Issue (<?php echo count(get_posts( "numberposts=-1&post_status=pending&category=245" )); ?>)</a></li><?php } else { ?>
<li>|<a href="edit.php?post_status=pending&cat=245">Next Issue (<?php echo count(get_posts( "numberposts=-1&post_status=pending&category=245" )); ?>)</a></li>
<?php } if ($_GET['post_status'] == 'pending' && $_GET['cat'] == 244) { ?>
<li>|<a class="current" href="edit.php?post_status=pending&cat=244">Ready Anytime (<?php echo count(get_posts( "numberposts=-1&post_status=pending&category=244" )); ?>)</a></li><?php } else { ?>
<li>|<a href="edit.php?post_status=pending&cat=244">Ready Anytime (<?php echo count(get_posts( "numberposts=-1&post_status=pending&category=244" )); ?>)</a></li>
<?php } ?>
This code should be entered at line 164 (167 in wordpress 2.8.3) in the current version of Wordpress (keep in mind this can and likely will change with any alterations to this file in future versions) in between an ending ?> tag and an ending </ul> tag. This is what it looks like without the chunk of code...

And what it looks like with it...

Comments (0)
You don't have permission to comment on this page.