首页 > typecho functions文件里怎么获取当前文章的链接?
写了个正则表达来获取第一张图片,functions文件里写了个a标签包含了img,但地址是个问题,不知道怎么获取当前文章的链接。
$this->permalink,调用的时候传参进去就好叻(๑´ㅂ`๑)
$this->permalink