Results 1 to 5 of 5

Thread: Help to add "Add Post" to User Options panel

  1. #1
    Thread Starter
    Junior Member swapmama's Avatar
    Join Date
    Aug 2011
    Location
    Algeria
    Posts
    45
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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>

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,009
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Thread Starter
    Junior Member swapmama's Avatar
    Join Date
    Aug 2011
    Location
    Algeria
    Posts
    45
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    Junior Member swapmama's Avatar
    Join Date
    Aug 2011
    Location
    Algeria
    Posts
    45
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Community Partner scarstens's Avatar
    Join Date
    Apr 2010
    Location
    Cave Creek, AZ USA
    Posts
    912
    Thanks
    2
    Thanked 129 Times in 86 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    ~ Seth Carstens, Sethmatics Inc.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: August 7th, 2011, 08:39 AM
  2. Replies: 8
    Last Post: May 18th, 2011, 01:52 AM
  3. [SOLVED] "404 Not Found" page when attempting to "post an ad" or "join now"
    By tradingpoint in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: March 21st, 2011, 08:51 PM
  4. [SOLVED] Clicking "Ad Post" results in "404 Page Not Found" Message
    By cmbapp in forum Help Using ClassiPress
    Replies: 9
    Last Post: January 8th, 2011, 06:33 PM
  5. [SOLVED] Clicking "Ad Post" results in "Main Page" instead the correct one
    By tiagozn in forum Help Using ClassiPress
    Replies: 3
    Last Post: January 8th, 2011, 04:03 PM