Monthly Archives: June 2010

List of Internet top-level domains

The following is a list of Internet top-level domains. The top-level domain article provides the background information. The official list of all top-level domains is maintained by the Internet Assigned Numbers Authority (IANA). Generic top-level domains gTLD Entity Notes .aero

Graphics

Graphics (from Greek γραφικός graphia) are visual presentations on some surface, such as a wall, canvas, computer screen, paper, or stone to brand, inform, illustrate, or entertain. Examples are photographs, drawings, Line Art, graphs, diagrams, typography, numbers, symbols, geometric designs,

Difference between a vector and a scalar

A scalar is just a number, and a vector is a number with a direction involved. In the first question, pounds, newtons, and dynes are all *forces*. A force can’t exist as just a number; force has to be directed

Limit WordPress Post or Page Content

Copy this function and paste in the function.php ———— function dp_clean($excerpt, $substr=0) { $string = strip_tags(str_replace(‘[…]‘, ‘…’, $excerpt)); if ($substr>0) { $string = substr($string, 0, $substr); } return $string; } Call this function in your index.php ———– < ?php echo

Simple WordPress Title Limit Function

Put this code in to your function.php (Note: Fix php tag!)- < ?php  function the_title2($before = ”, $after = ”, $echo = true, $length = false) { $title = get_the_title(); if ( $length && is_numeric($length) ) { $title = substr(

Get Category or Page Depth or level

get_depth() As far as I know there is no function in WordPress that return the page or category depth. I created a function that returns the depth of a page or category. The depth is how many levels from the

Code for custom field Image in recent post List

<h3>Recent Post</h3> <div> <!– use a custom field for image , Here the custom field name is = “newReleaseThumb” –> <?php $myposts = get_posts(‘numberposts=5&offset=1′);foreach($myposts as $post) > <div style=” width:100%; float:left; border:#FF0000 0px solid; padding: 5px; margin-bottom:2px; background:#0000FF;”> <div style=”width:95px;

Select Fix Category Post With New Custom Query Code

<?php $my_query = new WP_Query(‘category_name= Trailer&showposts=4′); ?> <?php while ($my_query->have_posts()) : $my_query->the_post(); { ?> YOUR DATA <?php } endwhile; ?> Muhammad Faridul Islam Muhammad Faridul Islam is an entrepreneur, web developer, and IT Consultant. Besides his profession, he also writes a

Ten Keyboard Techniques To Create Cool Symbols

All of us use the keyboard to create symbols daily. Look at the thumbnail. That’s a simple symbol created with just four keys. Symbols existed even before the alphabets. Over the years they have been part of folklore, myths and

Healthcare Distribution Co

Developed this site for renowned Distribution company Healthcare Distribution Co. Muhammad Faridul Islam Muhammad Faridul Islam is an entrepreneur, web developer, and IT Consultant. Besides his profession, he also writes a blog here. http://www.sourcencode.com/