Skip to content

Repository files navigation

Typecho 插件:Links+(友链管理增强版)

Latest tag License Typecho PHP Status

友情链接增强插件,支持多模板、短代码、正文重写、内置友链卡片展示主题、后台友链管理、前台友链申请。

修改自第三方维护者版本v1.2.7: https://github.com/Mejituu/Links

原作者:https://www.imhan.com/archives/typecho-links/

增强版文档:https://see.lhl.one/Typecho-LinksPlus


环境要求

  • Typecho(1.2.x+)
  • PHP 7.2+

安装

方法一 通过AB Store安装 AB Store Web 插件主页: https://ab-store.lhl.one/plugin/414bab94

方法二 手动安装

  1. 下载本插件(镜像下载)并解压到:
    • usr/plugins/Links/
  2. 确认目录结构包含:
    • usr/plugins/Links/Plugin.php
    • usr/plugins/Links/manage-links.php
    • usr/plugins/Links/templates/(内含模板)
  3. 后台 → 控制台 → 插件,启用 Links+。

主题

  • 模板目录为 templates/<name>/。
  • 必要文件:manifest.json、template.html。
  • 可选文件:style.css、script.js(manifest.json 中 inject 决定是否注入)。
  • 模板占位符:{name} {url} {image} {description} {sort} {lid} 等。

仓库与帮助

如果你需要更详细的开发/模板示例,可以在仓库 Issues 或 PR 提问。

About

Typecho 插件 - 友情链接插件,支持多种输出方式,内置多种主题

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages