Typecho Blog - Variable Table

Site name <?php $this->options->title(); ?>
domain name address full path title, such as article site site description author name exit link author avatar the author's personal homepage link rss comment parameter description You can use the relative path to get the parent directory php file <?php $this-&gt;options-&gt;siteUrl(); ?&gt;</code><br> <strong>后台地址</strong><code class="lang-php">&lt;?php $this->options->adminUrl(); ?>
 <?php $this-&gt;archiveTitle(' » ', '', ' - '); ?&gt;&lt;?php $this->options->title(); ?>
 <?php $this-&gt;options-&gt;description(); ?&gt;</code><br> <strong>模版文件夹地址</strong> <code class="lang-php">&lt;?php $this->options->themeUrl(); ?>
 <?php $this-&gt;author(); ?&gt;</code><br> <strong>当前登陆用户名字</strong> <code class="lang-php">&lt;?php $this->user->screenName(); ?>
 <a href="<?php $this-&gt;options-&gt;logoutUrl(); ?&gt;&quot;&gt;&lt;?php _e('退出'); ?&gt;&lt;/a&gt;</code><br> <strong>rss地址</strong> <code class="lang-php">&lt;?php $this->options->feedUrl(); ?>
 <?php $this-&gt;author-&gt;gravatar('200') ?&gt;</code><br> 参数说明<br>此函数是完整 img 标签,200代表长和宽</p> <strong>该文作者全部文章列表链接</strong> <code class="lang-php">&lt;?php $this->author->permalink(); ?>
 <?php $this-&gt;author-&gt;url(); ?&gt;</code><br> <strong>该文作者的邮箱地址</strong> <code class="lang-php">&lt;?php $this->author->mail(); ?>
 <?php $this-&gt;options-&gt;commentsFeedUrl(); ?&gt;</code><br> <strong>引用模版文件夹内php文件</strong> <code class="lang-php">&lt;?php $this->need('*.php'); ?>

Pure text category name, without link article or page, title article, next article or page, publication time article or page, content, content in parentheses, if more is added, a linked article will be automatically generated, and the added tag hides the head The program version and template name of the area can be seen when logged in. It can be seen if not logged in or logged in. <?php $this-&gt;category(',', false); ?&gt;</code><br> <strong>各种列表页面标题,如标签分类</strong> <code class="lang-php">&lt;?php $this->archiveTitle(' ', '', ''); ?>
 <?php $this-&gt;title() ?&gt;</code><br> <strong>文章上一篇</strong> <code class="lang-php">&lt;?php $this->theNext(); ?>
 <?php $this-&gt;thePrev(); ?&gt;</code><br> <strong>文章或页面,链接</strong> <code class="lang-php">&lt;?php $this->permalink() ?>
 <?php $this-&gt;date(); ?&gt;</code><br> <strong>文章或页面,评论数目</strong> <code class="lang-php">&lt;?php $this->commentsNum('No Comments', '1 Comment', '%d Comments'); ?>
 <?php $this-&gt;content('阅读剩余部分...'); ?&gt;</code><br> <strong>文章所在分类,链接形式</strong> <code class="lang-php">&lt;?php $this->category(','); ?>
 <?php $this-&gt;tags(', ', true, 'none'); ?&gt;</code><br> <strong>列表页分页</strong> <code class="lang-php">&lt;?php $this->pageNav(); ?>
 <?php $this-&gt;header(&quot;generator=&amp;template=&quot;); ?&gt;</code><br> <strong>登陆与未登录用户展示不同内容</strong> <code class="lang-php">&lt;?php if($this->user->hasLogin()): ?>
 <?php else: ?>
 <?php endif; ?>

{{o.name}}
{{m.name}}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324030117&siteId=291194637