[WordPress] 外掛分享: ACF Content Analysis for Yoast SEO

首頁外掛目錄 › ACF Content Analysis for Yoast SEO
WordPress 外掛 ACF Content Analysis for Yoast SEO 的封面圖片
100,000+
安裝啟用
★★★★
4.2/5 分(34 則評價)
106 天前
最後更新
0%
問題解決
WordPress 6.6+ PHP 7.2.5+ v3.2 上架:2015-12-16

內容簡介

此外掛確保 Yoast SEO 分析包括所有 ACF 內容,包括彈性內容和重複器。

Yoast SEO for WordPress 內容和 SEO 分析不會考慮一篇文章的Advanced Custom Fields 內容。此外掛使用 Yoast SEO for WordPress 的外掛系統來鉤住分析器,以添加 ACF 內容進行 SEO 分析。

此前由 WordPress SEO ACF Content Analysis 外掛完成,但該外掛不再支援 Yoast 3.0。該插件的原始想法由ryuheixys完成,給予稱讚。

此插件與免費的 ACF 4 版本以及 PRO 版本 5 兼容。請注意,它會忽略版本 4 的 Pro 附加元件。在這種情況下,請升級到 ACF PRO 版本 5。

如果您有問題,請在 GitHub 上提交

以前被稱為 Yoast ACF Analysis。

篩選器
從評分中刪除特定字段
add_filter( 'Yoast\WP\ACF\blacklist_name', function ( $blacklist_name ) {
$blacklist_name->add( 'my-field-name' );
return $blacklist_name;
});

從評分中刪除字段類型
add_filter( 'Yoast\WP\ACF\blacklist_type', function ( $blacklist_type ) {
// 文字、圖像等
$blacklist_type->add( 'text' );
$blacklist_type->add( 'image' );
return $blacklist_type;
});

定義自訂字段特定標題值
add_filter( 'Yoast\WP\ACF\headlines', function ( $headlines ) {
// 1-6 的值,1=h1,6=h6
$headlines['field_591eb45f2be86'] = 3;
return $headlines;
});

更改刷新速率
add_filter( 'Yoast\WP\ACF\refresh_rate', function () {
// 刷新率的毫秒數
return 1000;
});

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「ACF Content Analysis for Yoast SEO」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin ensures that Yoast SEO analyzes all ACF content including Flexible Content and Repeaters.
Yoast SEO for WordPress content and SEO analysis does not take in to account the content of a post’s Advanced Custom Fields. This plugin uses the plugin system of Yoast SEO for WordPress to hook into the analyser in order to add ACF content to the SEO analysis.
This had previously been done by the WordPress SEO ACF Content Analysis plugin but that no longer works with Yoast 3.0. Kudos to ryuheixys, the author of that plugin, for the original idea.
This Plugin is compatible with the free ACF 4 Version as well as with the PRO Version 5. Please be aware that it ignores Pro Add-Ons for Version 4. In that case please upgrade to ACF PRO Version 5.

If you have issues, please submit them on GitHub

Previously called Yoast ACF Analysis.
Filters
Remove specific field from scoring
add_filter( 'Yoast\WP\ACF\blacklist_name', function ( $blacklist_name ) {
$blacklist_name->add( 'my-field-name' );
return $blacklist_name;
});

Remove field type from scoring
add_filter( 'Yoast\WP\ACF\blacklist_type', function ( $blacklist_type ) {
// text, image etc
$blacklist_type->add( 'text' );
$blacklist_type->add( 'image' );
return $blacklist_type;
});

Define custom field a specific heading value
add_filter( 'Yoast\WP\ACF\headlines', function ( $headlines ) {
// value from 1-6, 1=h1, 6=h6
$headlines['field_591eb45f2be86'] = 3;
return $headlines;
});

Change refresh rate
add_filter( 'Yoast\WP\ACF\refresh_rate', function () {
// Refresh rates in milliseconds
return 1000;
});

延伸相關外掛

文章
Filter
Apply Filters
Mastodon