Files
plugins/ArticleTemplate/Readme.md
chorblack e75f275ef4
Some checks failed
定时更新GitHub源插件 / 自动更新GitHub插件 (push) Has been cancelled
Initial commit
2026-03-07 11:19:25 +08:00

23 lines
569 B
Markdown

# 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).