the_time('l, F jS, Y')
Tag Archives: Wordpress
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
?>
How to get the theme url – WordPress
<?php
bloginfo('stylesheet_directory');
// Theme path
?>