Wordpress tips and services.

Monitor your Server in the WordPress Dashboard

Monitor your Server in the WordPress Dashboard

by WP Switch™ | Tagged:

This handy dashboard widget allows you to monitor your server directly on the WordPress dashboard.

Simply copy the code below and paste in your functions.php file. For this to work you also must set the value of the $logfile variable at the start to the absolute server path of your log file.

Display WordPress Post Tags In A Dropdown Menu

Display WordPress Post Tags In A Dropdown Menu

by WP Switch™ | Tagged:

We use this code here on WPswitch so you should to, or not..whatever!

In your theme folder, paste the following code to the functions.php file. If you don’t have a functions.php file, create one.

Display The Number Of Your Twitter Followers in WordPress

Display The Number Of Your Twitter Followers in WordPress

by WP Switch™ | Tagged: ,

So you have bazillions of followers on Twitter and you want to display your Twitter dominance to all the people who visit your blog huh? If you are not a fan of plugins you can display your follow count in plain text and style it to your liking later on.

Adding a search bar to the NextGEN Gallery Plugin

Adding a search bar to the NextGEN Gallery Plugin

by WP Switch™ | Tagged:

This code allows you to be able to search for character names in the search bar, and for the engine to find it in the tag, titles, and descriptions of NextGen images and posts.

Retreive First Image From WordPress Post

Retreive First Image From WordPress Post

by WP Switch™ | Tagged:

I have been looking around for this for ages. I have been using other post thumb plugins and just find them to bulky for what i wanted, too feature rich. I just wanted a basic grab the first image from a post and display it. Just add the below code to your functions.php file in your theme directory.

Get Tags Based On The WordPress Category

Get Tags Based On The WordPress Category

by WP Switch™ | Tagged:

WordPress does a lot of things really well. Sometimes you want to do something that seems simple but requires some tweaking and a bit of hacking. If you want to get specific and display tags based on specific categories of your choosing, this code will let you do it.