<?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 );
?>
Category Archives: Wordpress
Wordpress
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
?>