承接 doiftrue/wp-kama-seo-tags 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

doiftrue/wp-kama-seo-tags

Composer 安装命令:

composer require doiftrue/wp-kama-seo-tags

包简介

Simple SEO class for WordPress to create page metatags: title, description, robots, keywords, Open Graph.

关键字:

README 文档

README

Simple SEO class for WordPress to create page metatags: title, description, robots, keywords, og:____ (Open Graph).

Instalation

composer require doiftrue/wp-kama-seo-tags

Usage

Just init the class.

$Kama_SEO_Tags = Kama_SEO_Tags::init();

Meta-fields in the admin panel

Important

IMPORTANT: The code does not add meta-fields in the admin panel!

The code above only processes (outputs) the necessary SEO meta-tags - it does not add meta-fields to the post or taxonomy term editing page. Such meta-fields need to be created separately.

On the post or term editing page, you need to create a meta box with the following meta-fields:

  • title - an alternative SEO title that will be used in the <title> meta-tag instead of the post title.

  • description - description for the page. If not available, the text from the excerpt will be used, and if that is also not available, a snippet from the beginning of the post content will be used.

    • meta_description - this is how the description meta-field for terms should be named, because the description key is already used for taxonomies...
  • keywords - keywords meta-tag. I'm not sure if it's needed in modern realities.

  • robots - the specified value is output as is, for example, noindex,nofollow.

Issues

If it doesn't work, you need to make sure that the wp_head() function is being used in the header.php theme file and that it does not output the hard-coded <title> tag and other SEO tags.

For more details see: https://wp-kama.ru/9537

Changelog

1.9.15 - 16-07-2023

  • IMP: PHP Warning fix.

1.9.14 - 28-06-2023

  • NEW: composer.json added. And module added to Packagist.
  • NEW: Default EN translations added.
  • CHG: year, month, day keys added to localisation strings. archive key was removed.
  • IMP: Better support for document_title_parts WP hook.
  • IMP: Minor refactoring and improvements.

1.9.13 - 1-06-2022

  • IMP: Minor improvements.

1.9.8 - 25-10-2021

  • CHG: Disable function wptexturize() convert_chars() for title.
  • NEW: hook kama_meta_keywords.

1.6 - 13-12-2020

  • IMP: Paged becomes real part of implode.
  • NEW: $paged parameter added to kama_meta_title hook.

1.5 - 01-12-2020

  • IMP: get_term_meta() for meta_robots(). Simplify the code of meta_robots().
  • CHG: Hook kama_meta_robots_close renamed to kama_meta_robots

1.4 - 27.11.2020

  • NEW: Изменил логику og_meta():
  • NEW: Теперь все собирается в массив.
  • NEW: Появился хук pre_kama_og_meta_image.
  • NEW: ВАЖНО! Переименован хук kama_og_meta_thumb_id на kama_og_meta_image.
  • NEW: Появился хук kama_og_meta_elements_values.

doiftrue/wp-kama-seo-tags 适用场景与选型建议

doiftrue/wp-kama-seo-tags 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 58 次下载、GitHub Stars 达 8, 最近一次更新时间为 2023 年 06 月 28 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「wordpress」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 doiftrue/wp-kama-seo-tags 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 doiftrue/wp-kama-seo-tags 我们能提供哪些服务?
定制开发 / 二次开发

基于 doiftrue/wp-kama-seo-tags 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 8
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-06-28