Discuz 判断只在第一楼/第一层 主贴显示

需要在主贴下插入一段代码,插入进去,发现下面的楼层都有了,于是需要加个判断,判断主贴(第一楼/第一层)才显示。

1
2
    <!--{if $post['first']}-->
这里是要加的代码<!--{/if}-->

Leave a Reply

You must be logged in to post a comment.

RSS feed for comments on this post. TrackBack URL