示例#1
0
function lj_description()
{
    if (is_single() || is_page()) {
        if (have_posts()) {
            while (have_posts()) {
                the_post();
                the_excerpt_rss();
            }
        }
    } else {
        if (is_home()) {
            lj_title();
        }
    }
}
示例#2
0
	Template Name: Header
	URI: http://lineshjose.com/
	Description: This is a Free WordPress theme built-in widgets and a intuitive theme settings interface... Designed by <a href="http://lineshjose.com/">Linesh Jose</a>. Both the design and code are  released under a <a href="http://creativecommons.org/licenses/by/3.0//">Creative Commons Attribution 3.0 Unported</a> License.
	Version: 11.07
	Author: Linesh Jose 
	Author URI: http://lineshjose.com
	Tags: light, white,Three-columns,  flexible-width, right-sidebar, left-sidebar,  threaded-comments, translation-ready, white,  widgets
*/
?>


	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head profile="http://gmpg.org/xfn/11">
	<title><?php 
lj_title();
?>
</title>
	<meta name="description" content="<?php 
lj_description();
?>
" />
	<meta name="Robots" content="<?php 
lj_robotx();
?>
" />
	<link rel="stylesheet" href="<?php 
bloginfo('template_url');
?>
/menu.css" type="text/css" media="screen,projection" />
	<link rel="stylesheet" href="<?php