-
Notifications
You must be signed in to change notification settings - Fork 3
/
readme.txt
90 lines (66 loc) · 2.14 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
=== ACF Content Analysis for Yoast SEO ===
Contributors: ViktorFroberg, marol87, pekz0r, angrycreative
Tags: Angry Creative, Yoast SEO, Yoast, SEO, ACF, Advanced Custom Fields
Requires at least: 4.0
Tested up to: 4.7.3
Stable tag: 1.2.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Ensure that Yoast SEO analysize all ACF content including Flexible Content and Repeaters.
Requires version 3.0 or later of Yoast SEO plugin.
== Description ==
This plugin ensures that Yoast SEO analysize all ACF content including Flexible Content and Repeaters.
Requires version 3.0 or later of Yoast SEO plugin.
= Filters =
`ysacf_exclude_fields`: exclude acf fields from Yoast scoring. Should return array of field names.
Example: exclude the text-color and background_image fields from Yoast scoring.
`
add_filter('ysacf_exclude_fields', function(){
return array(
'text_color',
'background_image'
);
});
`
== Installation ==
1. Download, unzip and upload the plugin folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress (activate for network if multisite)
== Frequently Asked Questions ==
= I'm using Flexible Content and the field name is displayed in the snippet preview. How do I remove it? =
You can remove it using the ysacf_exclude_fields filter.
`
add_filter('ysacf_exclude_fields', function(){
return array(
'acf_fc_layout',
);
});
`
== Changelog ==
= 1.2.6 =
* Tested with WordPress 4.7.3.
* Added FAQ section to plugin repository page.
= 1.2.5 =
* Fix for taxonomies in the latest version of WordPress
= 1.2.4 =
* Fix filter.
* Add check for empty content.
= 1.2.3 =
* Fix PHP warnings.
* Works with WordPress 4.5
= 1.2.2 =
* Fix warning for undefined index
* Fix support for multisite
= 1.2.1 =
* Bugfix for Yoast SEO Premium
= 1.2.0 =
* Add support for alt and title tags in images.
* Security improvements
* Images returned as url will now be analysed as urls.
= 1.1.1 =
* Bugfix for undefined index
= 1.1.0 =
* Add support for taxonomies
* Bug fixes and stability improvements
* Works with WordPress 4.4.1
= 1.0.0 =
* First public release