Category Archives

Tutorial

Contain web tips, tricks and hacks.
Total Posts: 20


Creating WordPress Snow Effects With jQuery Snowfall

Merry Christmas! This tutorial will show how to create snow effect using awesome jQuery plugin Snowfall. The main idea is using your page body to handle the snow. Download the jQuery plugin Snowfall, create a directory ‘snowfall’ in your theme …Read more.

Get Custom Taxonomy Terms Using WordPress Archive Template

This tutorial will get the custom taxonomy ID by using get_query_var and get_term_by in archive.php template. The example url is http://http://zourbuth.com/?manufacturers=motorola. Put this code in your theme archive.php: $taxonomy = ‘manufacturers’; $cat_name = get_query_var( $taxonomy ); $term = get_term_by(‘name’, $cat_name, …Read more.

Creating Additional WordPress Plugin Links Row Meta

By default, WordPress only display the author and plugin URI links. Since the version 2.8, they applied filter plugin_row_meta within the plugin administration section. With this filter, you can create many links for your plugin or another plain text. You …Read more.

Access To Microsoft.com Blocked

This will solve your problem: Go to Control Panel Click Administrative Tools Click Services. Scroll down and look for DNS Client. Right Click on DNS Client and select STOP.  

Intro & Outro Text for WordPress Widget

Introtext or intro text is a text supports HTML and shortcode to give a space for descriptions before the widget content. Similiar to Outrotext or outro text is a space for descriptions after the widget content. ‘intro_text’ => $instance['intro_text'], ‘outro_text’ …Read more.

Feedburner Error Message: The feed does not have subscriptions by email enabled

If you received an Feedburner error message above, that means you do not enable the subscription by email. To solve this problem go to the feed feedburner settings and enable the email subscription service at the bottom of the tab …Read more.

jQuery Find Element Id with Particular Pattern

$(‘span’).each(function(){ if( $(this).attr(‘id’).match(/pattern/) ) { // your code goes here } } It depends on what kind of pattern you’re looking for. If your pattern is something like “MasterPageElement_CheckBox_4443″, “MasterPageElement_CheckBox_4448″, etc. then you could also use: $(“span[id^=MasterPageElement_CheckBox]“) There are 3 …Read more.

SimplePie Enclosure Get Media Content Link

SimplePie is a very fast and easy-to-use class, written in PHP, that puts the ‘simple’ back into ‘really simple syndication’. Flexible enough to suit beginners and veterans alike, SimplePie is focused on speed, ease of use, compatibility and standards compliance. …Read more.

How to Use Feedburner Email Subscription

Feedburner is a free, Google-owned service that provides great feed statistics and services to bloggers and other feed publishers. Here’s how to use Feedburner email subscription: Sign up — First of all, you’ll need to sign up for a Feedburner …Read more.

Get Value from Class

<?php class myclass { function myfunction() { /** your code here **/ } } $object = new myfunction(); echo $object->name(); ?>