<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>
Monthly Archives: April 2011
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
bloginfo('name');
// Site name
?>
How to get the site description – Wordpres
<?php
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 direction in the wordpress site
<?php
bloginfo('text_direction');
// Text Direction
?>
How to get the language used in the wordpress site
<?php
bloginfo('language');
// Site language
?>
How to get the email address of the site admin – WordPress
<?php
bloginfo('admin_email');
// admin email
?>