Monthly Archive
for: ‘July, 2010’

Check if a WordPress plugin is active

If you want to check if a WordPress plugin is active, just use the is_plugin_active() function. The function takes a single parameter, which is the path to the plugin, as shown in the example below:

Read More

Clearing the default value of text input with Javascript

Often in a web form you will put a default value into a text box which explains what the box is for and when the user clicks into the box clear the value. An example of this is a sidewide search box where you might want to put the instructions (e.g. “enter your keywords here”) [...]

Read More

Useful PHP Regular Expression

In computing, regular expressions, also referred to as regex or regexp, provide a concise and flexible means for matching strings of text, such as particular characters, words, or patterns of characters. A regular expression is written in a formal language that can be interpreted by a regular expression processor, a program that either serves as [...]

Read More

Showing custom post types on your home/blog page

By default, WordPress shows only the “post” post type on your home/blog page. If you want to display your custom post types you have to add a filter (pre_get_posts). So let’s suppose we have created the post types “portfolio and gallery” in addition. To add these, open your theme’s functions.php file and paste the following [...]

Read More

How popular is your site?

Popuri.us Popuri is a tool to check at-a-glance the link popularity of any site based on its ranking (Google PageRank, Alexa Rank, Technorati etc.), social bookmarks (del.icio.us, etc), subscribers (Bloglines, etc) and more!

Read More

Email Address Verification with PHP

This PHP email verification Class lets you verify if an email address is valid and really exists. It works as SMTP Server: MX-Records are extracted from a DNS Server, then the Script connects to SMTP servers and simulates the sending of a message. Unfortunately For some domains you can’t verify whether the address is good [...]

Read More

Best PPC Advertising Networks

Pay Per Click (PPC) is an Internet advertising model used on websites, in which advertisers pay their host only when their ad is clicked. With search engines, advertisers typically bid on keyword phrases relevant to their target market. Content sites commonly charge a fixed price per click rather than use a bidding system. Cost per [...]

Read More

Best free Icon Sets

When designing a website or web application, you may need some icons. But Instead of creating icon sets from scratch, which can take a lot of time, why not use icons that have already been created for you. Here are some of the best icon sets out there for you to use free. You can [...]

Read More

JQuery Version abfragen

Manchmal muss man die Version von JQuery kennen, mit der das Script ausgeführt wird, um z.B. versionsspezifische Funktionen zu schreiben. Das kann z.B. der Fall sein, wenn man ein JQuery Plugin erstellt, dass in unterschiedlichen Umgebungen läuft.

Read More

jQuery autocomplete

Auto-completion of search terms is an AJAX feature popularized by Google that reduces typing by listing possible keywords as the user types. This article will show you the steps of building a auto suggestion box with PHP and jQuery (No autocomplete Plugin or any other components are needed). We’re going to check what a user [...]

Read More
Page 1 of 3123»
 
© 2010 onYou GmbH. All Rights Reserved