Typecho 常用调用代码
No Reply , Posted in 代码 on September 21, 2014
/*头部HEAD常用 <?php $this->keywords('_'); ?>//关键词 <?php $this->options->title(); ?>//站点名称 <?php $this->options->description(); ?>//站点描述 <?php $this->archiveTitle(); ?>//标题 <?php $this->options->themeUrl('ie.css'); ?>//模板路径 <?php $this->options->siteUrl(); ?>//主页网址 <?php $this->options->feedUrl(); ?> <?php $this->options->commentsFeedUrl(); ?> <?php $this->pageNav(); ?>//分页 <?php $this->options->generator(); ?>//版本号 /*文章页面常用 <?php $this->title(); ?>//标题 <?php $this->category(','); ?>//分类 <?php $this->tags(', ', true, ''); ?>//标签 <?php $this->date('F jS, Y') ?>//时间 <?php $this->content(); ?>//内容 <?php $this->thePrev('« %s', ''); ?>//上一篇 <?php $this->theNext('%s »', ''); ?>//下一篇