Initial commit
Some checks failed
定时更新GitHub源插件 / 自动更新GitHub插件 (push) Has been cancelled

This commit is contained in:
chorblack
2026-03-07 11:19:25 +08:00
commit e75f275ef4
4484 changed files with 645480 additions and 0 deletions

23
ArticleTemplate/Readme.md Normal file
View File

@@ -0,0 +1,23 @@
# ArticleTemplate
Custom post type for Typecho.
Version V2 is more powerful, but is a paid plugin.
## Usage
Download release and upload to /usr/plugins, be sure folder is `ArticleTemplate`
How to ouput the value of template:
```
<?php $this->template() ?>
```
or
```
<?php $template = $this->template ?>
```
if post type was `standard`, it would output an empty string.
PS:`$this` is a Widget_Archive object
## License
Copyright © 2016 [benzBrake](https://xiamp.net).
License: [The GNU v3 License](https://github.com/benzBrake/ArticleTemplate/raw/master/LICENSE).