ikuzo/kirbypluginseo 问题修复 & 功能扩展

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

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

ikuzo/kirbypluginseo

Composer 安装命令:

composer require ikuzo/kirbypluginseo

包简介

Kirby 3 SEO plugin

README 文档

README

Kirby CMS plugin to edit SEO data on the panel, and display it in the head tag.

Edit meta title and description, social network og metas, noindex and canonical URL.

Blueprint

To show SEO edition tab in the panel, add tabs/seo to your blueprints

Example with page preset :

title: Simple Page

tabs:

  # content tab
  content:
    label: Content
    icon: text
    preset: page
    fields:
      text:
        label: Text
        type: textarea
        size: huge

  # seo tab
  seo: tabs/seo

Snippet

To display SEO metas in head tag of your website, include the snippet seo-head.

Example in header.php snippet :

<!doctype html>
<html lang="en">
<head>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
    
  <?php snippet('seo-head'); ?>

  <?= css(['assets/css/index.css', '@auto']) ?>

</head>
<body>

You can also pass parameters to the snippet, to override page data :

snippet('seo-head', [
  'title' => 'title',
  'description' => 'description',
  'ogTitle' => 'og title',
  'ogDesc' => 'og description',
  'ogImage' => 'og image',
  'noindex' => true,
  'canonical' => 'canonical-url'
]);

Options

  • ikuzo.seo.meta.title.prefix : Prefix prepened to meta title, default ""
  • ikuzo.seo.meta.title.suffix : Suffix appened to meta title, default " | Site title"
  • ikuzo.seo.og.title.prefix : Prefix prepened to og title, default ""
  • ikuzo.seo.og.title.suffix : Suffix appened to og title, default " | Site title"

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-08-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固