jorisnoo/craft-seo-preview 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jorisnoo/craft-seo-preview

Composer 安装命令:

composer require jorisnoo/craft-seo-preview

包简介

SEO preview targets for Craft CMS elements

README 文档

README

A Craft CMS plugin that adds an SEO preview target to element live previews. See how your entries will look in Google search results while editing.

Requirements

  • PHP 8.2+
  • Craft CMS 5.0+

Installation

composer require jorisnoo/craft-seo-preview

Then install the plugin from the Craft control panel or by running:

php craft plugin/install seo-preview

How it works

The plugin adds an "SEO Preview" tab to the live preview of any element that has a URL. It renders a Google-style search result preview using the element's meta tags (title, description, og:image, etc.), so you can see how the page will appear in search results before publishing.

The preview reads the actual meta tags from your templates, so it works with whatever SEO setup you already have (SEOmatic, custom meta tags, etc.).

Template requirements

Your site templates need to include a partial at _helpers/seo.twig that outputs the relevant meta tags for the given entry. The plugin passes the entry to this partial and uses the rendered meta tags to build the preview.

License

MIT

统计信息

  • 总下载量: 422
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Twig

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固