调用子栏目(在栏目首页模板需要用到)

{pc:content action="category" cat}
{loop $data $r}
<a href="{$r[url]}">{$r[catname]}</a> |
{/loop}
{/pc}

 

文章列表的调用方法:

{pc:content action="lists" cat>{$r[title]}</a></li>
                {/loop}
            </ul>
            {/pc}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
猜你喜欢
  • 2021-05-30
  • 2021-04-18
  • 2022-01-12
  • 2021-09-13
  • 2022-02-24
  • 2022-12-23
相关资源
相似解决方案