Monitor your Server in the WordPress Dashboard

Monitor your Server in the WordPress Dashboard

by Matt | 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.

How to Disable HTML in WordPress Comments Area

How to Disable HTML in WordPress Comments Area

by Jacob | Tagged: ,

By default, WordPress allows certain tags in comments. Commenters can add links, style text in bold and italics, add tables, and more. This can be quite useful until the spammers pay you a visit.

If you simply disable HTML from your WordPress comments, it can prevent a lot of SPAM. In this quick tip we will show you how to disable HTML tags in your WordPress comments.

Display WordPress Post Tags In A Dropdown Menu

Display WordPress Post Tags In A Dropdown Menu

by Matt | 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 Matt | 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 Matt | 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 Matt | 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 Matt | 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.

Page 1 of 11