$this->need("xxx");
// 提供插件的Hook
$this->footer();
可以创建 category 、page目录,根据名字自动加载不同的模板
文章为post目录,根据ID自动加载不同的模板
有用的themeFields
$this->need("xxx");
// 提供插件的Hook
$this->footer();
可以创建 category 、page目录,根据名字自动加载不同的模板
文章为post目录,根据ID自动加载不同的模板
有用的themeFields
define('__TYPECHO_DEBUG__',true);
打开 Debug 模式
define('__TYPECHO_SECURE__', true);
强制SSL
define('__TYPECHO_GRAVATAR_PREFIX__', 'https://myavatar.com/avatar');
Avatar 前缀
admin/write-post.php:58: content($post); ?>
admin/write-post.php:97: option($post); ?>
admin/write-post.php:140: advanceOption($post); ?>
admin/write-post.php:171:Typecho_Plugin::factory('admin/write-post.php')->trigger($plugged)->richEditor($post);
admin/write-post.php:178:Typecho_Plugin::factory('admin/write-post.php')->bottom($post);
admin/theme-editor.php:60:Typecho_Plugin::factory('admin/theme-editor.php')->bottom($files);
admin/editor-js.php:224: markdownEditor($content); ?>
admin/menu.php:7: navBar(); ?>
admin/header.php:15:$header = Typecho_Plugin::factory('admin/header.php')->header($header);
admin/footer.php:6:Typecho_Plugin::factory('admin/footer.php')->end();
admin/profile.php:58:Typecho_Plugin::factory('admin/profile.php')->bottom();
admin/common.php:18:Typecho_Plugin::factory('admin/common.php')->begin();
admin/write-page.php:53: content($page); ?>
admin/write-page.php:86: option($page); ?>
admin/write-page.php:112: advanceOption($page); ?>
admin/write-page.php:142:Typecho_Plugin::factory('admin/write-page.php')->trigger($plugged)->richEditor($page);
admin/write-page.php:149:Typecho_Plugin::factory('admin/write-page.php')->bottom($page);
admin/write-js.php:2:write(); ?>
index.php:20:Typecho_Plugin::factory('index.php')->begin();
index.php:26:Typecho_Plugin::factory('index.php')->end();
var/Widget/Upload.php:90: $result = Typecho_Plugin::factory('Widget_Upload')->trigger($hasUploaded)->uploadHandle($file);
var/Widget/Upload.php:162: $result = Typecho_Plugin::factory('Widget_Upload')->trigger($hasModified)->modifyHandle($content, $file);
var/Widget/Upload.php:227: $result = Typecho_Plugin::factory('Widget_Upload')->trigger($hasDeleted)->deleteHandle($content);
var/Widget/Upload.php:245: $result = Typecho_Plugin::factory('Widget_Upload')->trigger($hasPlugged)->attachmentHandle($content);
var/Widget/Upload.php:264: $result = Typecho_Plugin::factory('Widget_Upload')->trigger($hasPlugged)->attachmentDataHandle($content);