Custom post type for Typecho
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
Copyright © 2016 benzBrake.
License: The GNU v3 License.