12
Jan
2012

WordPress Remove WP Drop Down Links

I posted a small plugin over at WPMUDev for users, here it is again:

along with some code snippets on how to handle this:

http://premium.wpmudev.org/forums/topic/remove-wp-about-menu-from-toolbar#post-161711

There are a few options. First the manual edits:
Open the file:
/wp-includes/class-wp-admin-bar.php
And around line 456:

456
add_action( 'admin_bar_menu', 'wp_admin_bar_wp_menu', 10 );

Comment it out or just remove the whole line. Now the WP links part is all gone! :-)
But….. But……… If you wanted to edit those links to customise yourself, you could just go open up the file:
/wp-includes/admin-bar.php
You’ll see it all near the top, here is a short snippet:

if ( is_user_logged_in() ) {
// Add "About WordPress" link	 $wp_admin_bar->add_menu( array('parent' => 'wp-logo', 'id' => 'about',	 'title'  => __('About WordPress'),	 'href'   => admin_url('about.php'),	 ) );
}

You will note much of the same on there.
The logo is part of a sprite which can be found here:

/wp-includes/images/admin-bar-sprite.png

Both of these options mean updating the code every time you upgrade your WP install.
And now the final option, which is the easiest, but its yet another plugin………

Remove WordPress Admin Bar Links

Enjoy, its free!! :-)

06
Oct
2011

RIP Steve Jobs – Apple!

I was just popping over to the Apple website to checkout details on the new iPhone 5, like a little child eagerly waiting for his new gadget (which I’ll be getting shortly) I’ve been reading all the information. On this occasion though I was very sad to see that Steve Jobs has sadly passed away. :’-(

He was a true visionary, a real special person with a passion that filled his life. He will be missed by many. I feel for both his family and close friends, I hope they take comfort in the fact he is and always will be admired by millions.

RIP Steve Jobs, you will be missed.

Steve Jobs 1955 - 2011 - From the Apple website

Steve Jobs 1955 - 2011 - From the Apple website

Steve Jobs 1955 - 2011 - From the Apple website

Steve Jobs 1955 - 2011 - From the Apple website

 

02
Oct
2011

I Believe That First Bus Are Useless!

First Bus and their real slogan:- Destroying Families since 2004.

Just recently First Bus, a transport company in the UK have launched a new and annoying TV advert with the song based loosely on “The Children Are Our Future”. So not only do they aim to torture their staff and family but now they want to take a perfectly good song and ruin it whilst aligning it with their crap brand and poor business conduct.

So if you don’t know me to well you may well be wondering what my beef is here….

In 2004 my father was alive but living with terminal lung cancer and I was a driver with First Bus, a company which at first I thought was respectable, how wrong I was!

One night I had an instance on the busses just outside our main office, a group of youths were trying to get aboard to attack a passenger. I called for police backup whilst the office management stood outside their door doing nothing to protect their staff. I was left to fend off these attackers with my passenger. One of the thugs shouted at me whilst on the phone to the police “End the call before I end your life”.

Needless to say, this mixed into the equation with my father being terminally took its toll on me and so I requested for leave from work. I asked for it to be unpaid leave so I could spend valuable time with my father.

First Bus at Doncaster, specifically Pete Mare (however the prick spells his name) didn’t want to let me have time off work to spend with my father whilst he had his final days on Earth. I begged for unpaid leave or to give me a job once my father passed away, my father begged with them also. But they were heartless and pushed to sack me, they called it “Frustration Of Contract”.

Once my father passed away, I applied for a job with them again. I was invited in for an interview and some tests. I passed all their initial tests and the interview was great, but then the Rotherham training manager called me into his office and stated that they would not offer my a job and that First Bus Doncaster stated “Due to his past conduct, First as a company are not to employ him again”.

What past conduct, being harassed and threatened on a bus, offered no driver support, given no compasionate leave. Bullied into leaving the company.

I wasn’t the only one suffering at the hands of First Bus Doncaster management – So their slogan – Destroying Families since 2004.

I would never have wished anyone dead, but if Pete Mare were to suffer like my father and our family have then I would most likely raise a smile at that and take solace in the fact that Karma is a bitch. Harsh I know, but that is life.