BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › Missing shortcuts for admins
- This topic has 15 replies, 3 contibutors, and was last updated 9 years, 6 months ago by Alyssa.
Question
May 1, 2015 at 8:48 pm #39634@antonkawasakiREALLY loving this theme, the more I explore it! 🙂
I could go on for days with all that I love about it, but since these are support forums, I unfortunately have to point out what I have problems with. Sorry!This is actually more of a request:
I love that the admin bar is hidden in the Boss Theme, even for admins — but there are two major shortcut omissions for webmasters in the dropdown dashboard menu:
- EDIT THIS PAGE — I use this function ALL the time!! Yes, I know you added an “edit” link on the bottom of pages, but there are two problems with that: If it’s a really long page, or one with a “continuous scroll” feature, you’re screwed; in addition, it adds extra space on the bottom that throws off the design — meaning you need to log in as a non-admin to see what it REALLY looks like to ensure it’s ok.
- +NEW (to add new pages, posts, etc) — This is something else I use ALL the time. Without it, I need to go through several EXTRA steps each and every time that I want to add something new. It gets frustrating not having that really convenient shortcut that we’re all used to.
Can you guys PLEASE add the above two things into the user drop-down menu for admins? (I’m sure some of your users would also like the default comments shortcut added too). It would save us webmasters a TON of time!!
I look forward to replies to my comments so far.
Answers
May 2, 2015 at 1:07 am #39645@antonkawasakiWhile I’m on the topic of requests of things that are REALLY super helpful for website builders, is there any chance the devs can supply a way to add Custom CSS to the theme – preferably via the Customizer?
Almost every other premium theme I’ve worked with has this feature, and I can’t tell you how incredibly useful it is and how much time it saves!! You can play with CSS code right in the customizer, and see how it looks LIVE — allowing you to tinker and adjust right there on the spot (rather than having to go through so many steps of making a change, applying it, checking to see how it looks, then making another small change, applying it, checking to see how it looks, etc, etc).
May 3, 2015 at 9:39 am #39684@alyssa-buddyboss
AlyssaParticipant@antonkawasaki simply add this code:
<a href="<?php echo get_edit_post_link(); ?>"><?php _e( 'Edit Page', 'boss' );?></a> <a href="<?php echo admin_url('post-new.php'); ?>"><?php _e( 'New +', 'boss' );?></a>
After this code in header.php:
<a href="<?php echo admin_url('themes.php'); ?>"><?php _e( 'Themes', 'boss' );?></a>
NOTE: you need to place is after BOTH cases with this code.I’ll add this to the request list.
May 3, 2015 at 10:03 am #39685@antonkawasakiThanks for supplying some code, @tjchester! This will be a HUGE boost to my productivity. 🙂
A couple of things I want to clarify first, as I’m usually nervous dealing with code:
1). If I’m using the Boss child theme, I should make a copy of the main theme’s header and place it in the child folder first, and alter the code there, correct?
2). Your NOTE said to place the code snippet after the TWO cases of the other code — but I did a search of that code and there’s actually THREE instances of it. So should it go after all three?
Thanks in advance for any clarification.
May 3, 2015 at 12:32 pm #39692@alyssa-buddyboss
AlyssaParticipant@antonkawasaki yes, copy the file to the child theme, then edit there. Secondly, yes after all 3 to make certain it shows properly for all user roles 🙂
May 3, 2015 at 7:13 pm #39702@antonkawasaki@tjchester Just to further clarify — so copying in all three places shows for ALL user roles?Does that mean it would show for non-admins too? (If so, that’s not what I want — I just want it for admins).
May 3, 2015 at 7:47 pm #39707@alyssa-buddyboss
AlyssaParticipant@antonkawasaki no, it will only show for admin roles
May 3, 2015 at 7:49 pm #39708@antonkawasaki@tjchester Ah, ok – good. I was confused when you said show for all user roles.
Thanks!May 6, 2015 at 9:56 am #39881@chiefgeekIs there something similar we can do for this in order to allow basically the admin bar for admins only across the board?
I find myself missing WP_Query for debugging on a page as well as the User Switching in Admin Bar plugin.
Prior to Boss, I could utilize my admin bar for WP_Query and I could easily switch users and switch back while testing different users. It would be great to add those in… but I was just curious in general if we can activate the whole admin bar for admins only.
May 6, 2015 at 7:10 pm #39896@antonkawasakiI just realized (while testing a non-admin user) that the code provided by @tjchester above DOES add those specific functions back for admins, but then REMOVES the dropdown menu entirely for all other non-admin roles. So…I will have to remove that code for the time being and just deal with the annoying extra steps.
It would be nice, as @chiefgeek says, to simply get ALL the normal (and custom added) admin bar stuff back for admins. Just place it all in the push menu that comes out for “Dashboard” on the menu, and it would totally rock.
May 6, 2015 at 9:00 pm #39905@alyssa-buddyboss
AlyssaParticipantI put in a request to the developers, but no guarantees.
May 6, 2015 at 9:10 pm #39906@antonkawasakiIt’s the thought that counts. 😉
Thanks, @tjchester!May 7, 2015 at 4:40 pm #39926@chiefgeekHey @tjchester.
While it would be awesome for non-devs to have all the functionality with a pop out menu on the front-end etc… is there anyway for someone to just hack in the old school admin bar? I know some people buy the theme and never want to go into the backend, but it would be great if there was a hack just for admins to move around. I am descent with PHP, but new to buddypress so I’m constantly moving around front to back and trying to utilize WP-Query and user switching. I can’t use basic tools like these to do simple moving around, editing, or testing without the admin bar.
Does Boss just disable wordpress Admin Bar completely without anyway to get it back? If the bar doesn’t look great with Boss… it doesn’t matter all that much for admins and/or maybe even editors. Normal users would never have to see it and I’d probably disable it again once I was finished with development. Any help would be much appreciated, thanks.
May 7, 2015 at 5:31 pm #39933@alyssa-buddyboss
AlyssaParticipant@chiefgeek unfortunately we completely hack the admin bar, so you are actually seeing the admin bar without all the clutter and styling etc. The devs did not put it in a single action so I can’t just undo it. But I do understand that other plugins utilize the adminbar and with how we butcher it admins should have access to the full bar.
May 7, 2015 at 6:02 pm #39935@chiefgeekAh, I see, bummers.
- The question ‘Missing shortcuts for admins’ is closed to new replies.