<?php
$args = array(
'smallest' => 8,
'largest' => 22,
'unit' => 'pt',
'number' => 45,
'format' => 'flat',
'orderby' => 'name',
'order' => 'ASC',
'exclude' => null,
'include' => null,
'topic_count_text_callback' => default_topic_count_text,
'link' => 'view',
'taxonomy' => 'post_tag',
'echo' => true );
wp_tag_cloud( $args );
?>
Monthly Archives: April 2011
Social Bookmark Sharing option
<a href="http://www.addthis.com/bookmark.php?v=250" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"> <img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"></a> <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=zeegal"></script>
Display post added month – WordPress
the_time('l, F jS, Y')
Function that displays post author – WordPress
<?php the_author() ; ?>
How to get the site name – Wordpres
<?php
echo bloginfo('name');
// Site name
?>
How to get the site description – Wordpres
<?php
echo bloginfo('description');
// Site description
?>
How to get the charset used in the wordpress site
<?php
echo bloginfo('charset');
// Site charset
?>
How to get the vesrion of wordpress
<?php echo bloginfo('version'); // WordPress version ?>Or else load the page wp-includes > version.php and find ot the following line:$wp_version = '2.8.4';
How to get the text vesrion of wordpress
<?php
echo bloginfo('version');
// WordPress version
?>
How to get the text direction in the wordpress site
<?php
echo bloginfo('text_direction');
// Text Direction
?>