Category: WordPress

Favicon

A favicon (short for favorites icon), also known as a shortcut icon, website icon, URL icon, or bookmark icon is a 16×16 or 32×32 pixel square icon associated with a particular website or webpage. A web designer can create such an icon and install it into a website (or webpage) …

Continue Reading

WordPress 3.0

Arm your vuvuzelas: WordPress 3.0, the thirteenth major release of WordPress and the culmination of half a year of work by 218 contributors, is now available for download (or upgrade within your dashboard). Major new features in this release include a sexy new default theme called Twenty Ten. Theme developers …

Continue Reading

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 dp_clean($post->post_content, 250); ? > Muhammad Faridul Islam Muhammad Faridul Islam …

Continue Reading

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; float:left;”> <?php $thumbnail = get_post_meta($post->ID, ‘newReleaseThumb’, true); ?> <a href=”<?php …

Continue Reading