Help to add "Add Post" to User Options panel
My client doesn't care for pull-down menus, so I've had to disable the user toolbar. Various non-admin users ("Authors") will be running their own blogs. I'd like to add a link to the User Options sidebar that will go to the "New Posts" area and allow them to create/edit their posts. I understand the file sidebar-user.php controls this content, and have added a copy of it to my child-theme functions.php so that I can add some new lines...
Therein lies the rub!
Can anybody clarify just how to add such a specific link? Below is the code where I believe the addition should be made - it would be another <li> entry.
But just not sure to splice it in...
=Alan R.
Code:
<li><a href="<?php echo CP_DASHBOARD_URL ?>"><?php _e('My Dashboard','appthemes')?></a></li>
<li><a href="<?php echo CP_PROFILE_URL ?>"><?php _e('Edit Profile','appthemes')?></a></li>
<?php if (current_user_can('edit_others_posts')) { ?><li><a href="<?php echo get_option('siteurl'); ?>/wp-admin/"><?php _e('WordPress Admin','appthemes')?></a></li><?php } ?>
<li><a href="<?php echo wp_logout_url(); ?>"><?php _e('Log Out','appthemes')?></a></li>