plugin for admin functions in blog sidebar? (8 posts)

  1. bubazoo
    Posted 9 years ago #

    I was just wondering, is there a plugin for wordpress that lets you put popular admin functions in your blogs sidebar?

    I've seen admin dashboard plugins, but could that be put in the sidebar as well?

    what I mean by popular admin functions, things like making a post for instance..

    I know I could put that link in there manually, but that isn't what I am asking, I am asking if someone has written such a plugin? I'd also like to be able to edit posts by pushing an "edit" button in my blog, that type of thing, has anyone written such a plugin?

    if not, its ok, I can do that stuff manually, I was just wondering if such a plugin existed


  2. vkaryl
    Posted 9 years ago #

  3. bubazoo
    Posted 9 years ago #

    thanks, so much for the plugin information :) but I don't want to do a quickpost, just a link to the write new post page is fine for that. I thought maybe one of the dashbard plugins would work with the sidebar "shrugs" thanks anyway

  4. vkaryl
    Posted 9 years ago #

    I've never tried them that way, but nothing to stop you trying it out, just make backups first!

  5. bubazoo
    Posted 9 years ago #

    yeah I did, couldn't get it to work.

    I could write my own plugin to do that, if there isn't one, only thing I don't know, is how to check if the user is admin or not?

    I thought about doing

    if ('admin' == $user_id) {
    something here;

    but what if the admin changes his name? then what?

  6. vkaryl
    Posted 9 years ago #

    I think you'd be better advised to check for the admin role-level which is 10. And no, I don't know how to code that, you can check on the role-level stuff in codex to be sure you've got it right, and maybe KafkaesquĆ­ or Otto can help you with the actual statements.

  7. bubazoo
    Posted 9 years ago #

    well, I hope so, because I sure can't seem to figure it out.

    That plugin seems to only work for anyone logged in, which isn't what I was looking for anyway, what I was looking for was a plugin for the sidebar for admin only type functions. or those with post author privileges. On my blog, thats only me. I wanted to hide it for everyone else.

  8. Kafkaesqui

    Posted 9 years ago #

    This is how you test on user level:


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.