Auto-Redirect when WordPress Search Query Only Returns One Match

Posted on October 25th, 2011 by in Tutorials | 1 Comment  
Auto-Redirect when WordPress Search Query Only Returns One Match

There are times when searching a WordPress blog, you only get one item in the result. Depending on how organized your site is, this should be the item the user was looking for anyways. One of our users asked if there was a way to redirect to the post if the search query results only one match. In this article, we are going to show you how to redirect users to the post when the search query only returns one…

Continue Reading »

How to Use Multiple Search Forms In WordPress

Posted on October 20th, 2011 by in Tutorials | 1 Comment  
How to Use Multiple Search Forms In WordPress

Recently we showed you how to limit search results for specific post types in WordPress. Now we are going to show you how you can create different/multiple search forms altogether. This way each form can be limited to searching for a specific post type. Although this isn’t very hard it will require you to have a basic understanding of WordPress templates. First, you will need some search forms. Place the following code wherever you want them to be in your…

Continue Reading »

How to Fix Skype Overwriting Phone Numbers in WordPress Themes

Posted on October 18th, 2011 by in Tutorials | 1 Comment  
How to Fix Skype Overwriting Phone Numbers in WordPress Themes

If you have Skype on your computer you may have noticed that sometimes Skype highlights phone numbers automatically when you visit a website. From a WordPress developers point of view this can be very frustrating. Not only can it make your site look bad, but it can mess up the layout as well. In fact, just recently we had a client whose page kept breaking because Skype was highlighting his phone number. Fixing this problem is not very hard. All…

Continue Reading »

Add a Custom Class in WordPress Menu Item using Conditional Statements

Posted on October 12th, 2011 by in Tutorials | 0 Comments  
Add a Custom Class in WordPress Menu Item using Conditional Statements

In most cases when styling WordPress navigation menus, you can simply add CSS classes from the WordPress admin panel. Recently while working on a project, we found ourselves in a troublesome situation. We wanted to add a custom class to a specific menu item only on single post pages. After looking around for a while, we could not find any solution. Our last resort was to ask on twitter. Otto (@Otto42) replied by saying it is possible by using filters,…

Continue Reading »

How to Use Javascript Popups to Display Gravity Forms Error Messages

Posted on October 7th, 2011 by in Tutorials | 1 Comment  
How to Use Javascript Popups to Display Gravity Forms Error Messages

Gravity Forms is potentially the most beginner friendly contact form out there. The best part of Gravity Forms though is its customizability. It allows even advanced users to make changes to its functionality. In a recent article we showed you how you could add placeholder text in Gravity Forms. In this article we are going to show you how you can customize the way error messages are displayed. To do this open your functions.php file and paste the following code:…

Continue Reading »
Tweets about us: